3v4l.org

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