3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class AA{}; class CC{}; class BB extends AA{}; var_dump(is_subclass_of('BB', 'AA'));
Output for 5.0.3 - 7.2.0
bool(true)
Output for 4.3.0 - 5.0.2
bool(false)