3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Foo {} class Bar extends Foo {} var_dump(is_subclass_of('Bar', 'Foo'));
Output for 5.0.3 - 7.1.0
bool(true)
Output for 4.3.0 - 5.0.2
bool(false)