3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); $a="foo"; var_dump($a instanceof stdClass); var_dump("foo" instanceof stdClass);
Output for hhvm-3.10.0 - 3.12.0
bool(false) bool(false)
Output for 5.3.0 - 5.4.12
Fatal error: instanceof expects an object instance, constant given in /in/KC207 on line 5
Process exited with code 255.