3v4l.org

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