<?php // cannot name this class “Abstract” due to case-insensitivity lol abstract class AbstractClass { abstract function method(); } class Concrete extends AbstractClass { } // erreur!
Standard input is empty
Standard output is empty
PHP Fatal error: Class Concrete contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (AbstractClass::method) in /home/NVFVhF/prog.php on line 10