3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $fred = null; echo ! $fred; echo ! null; $dino = new Object;
based on Te4Bf
Output for 7.0.0 - 7.2.0
11 Fatal error: Uncaught Error: Class 'Object' not found in /in/YYqGu:7 Stack trace: #0 {main} thrown in /in/YYqGu on line 7
Process exited with code 255.
Output for 5.3.18 - 5.6.28
11 Fatal error: Class 'Object' not found in /in/YYqGu on line 7
Process exited with code 255.