- Output for 7.1.26 - 7.1.33, 7.2.17 - 7.2.25, 7.3.0 - 7.3.12, 7.4.0
- Fatal error: Non-abstract method Foo::Bar() must contain body in /in/2Ua2s on line 4
Process exited with code 255.
<?php
abstract class Foo
{
public function Bar();
}
$ref = new ReflectionClass(Foo::class);
var_dump($ref->getModifiers(),Reflection::getModifierNames($ref->getModifiers()));