- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.23
- Fatal error: Class X contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (A::abc) in /in/C3HPJ on line 18
Process exited with code 255.
<?php
abstract class A
{
public function ciao()
{
}
abstract function xyz();
abstract public function abc();
}
class X extends A
{
public function xyz()
{
}
}
new X();