3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php trait Foo { public function bar() { echo "Hi!"; } } $ref = new ReflectionClass('Foo'); var_dump($ref->isAbstract());
Output for 7.0.0 - 7.2.6
bool(false)
Output for 5.5.0 - 5.6.28
bool(true)