3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = null; $y = new Exception(''); var_dump($y instanceof $x);
based on Isnqc
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class name must be a valid object or a string in /in/eo65C:5 Stack trace: #0 {main} thrown in /in/eo65C on line 5
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Class name must be a valid object or a string in /in/eo65C on line 5
Process exited with code 255.