3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A {} class B extends A {} class C extends B {} class D extends C {} var_export('D' instanceof B);
Output for hhvm-3.10.0 - 3.12.0
false
Output for 5.3.0 - 5.4.27
Fatal error: instanceof expects an object instance, constant given in /in/Avro9 on line 11
Process exited with code 255.