3v4l.org

run code in 200+ PHP versions simultaneously
<?php abstract class Foo { abstract public function Bar(); } $ref = new ReflectionClass(Foo::class); var_dump(Reflection::getModifierNames($ref->getModifiers()));