3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<? class Dog { } class Poodle extends Dog { } $poppy = new Poodle( ); print (int)($poppy instanceof Dog); print "\n"; print (int)is_subclass_of($poppy, "Dog"); ?>
based on MFSQf
Output for 5.5.0 - 7.3.0rc4
1 1