3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php trait Foo {} $ref = new ReflectionClass('Foo'); var_dump($ref->isAbstract());
based on s6iu9
Output for 7.0.0 - 7.2.0
bool(false)
Output for 5.4.11 - 5.6.28
bool(true)
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected T_STRING in /in/5RF6l on line 3
Process exited with code 255.