3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new stdClass(); var_dump(null instanceof stdClass, $a instanceof stdClass);
based on XBDU7
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.7
Fatal error: instanceof expects an object instance, constant given in /in/1kIKg on line 5
Process exited with code 255.
Output for hhvm-3.15.4
bool(false) bool(true)