3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(array() == false); var_dump(NULL == false); var_dump(new stdObject() == false);
Output for 7.0.0 - 7.1.0
bool(true) bool(true) Fatal error: Uncaught Error: Class 'stdObject' not found in /in/XAU6F:5 Stack trace: #0 {main} thrown in /in/XAU6F on line 5
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
bool(true) bool(true) Fatal error: Class undefined: stdObject in /in/XAU6F on line 5
Process exited with code 255.
Output for 5.0.0 - 5.6.28
bool(true) bool(true) Fatal error: Class 'stdObject' not found in /in/XAU6F on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.9
bool(true) bool(true) Fatal error: Cannot instantiate non-existent class: stdobject in /in/XAU6F on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
bool(true) bool(true) Fatal error: Cannot instantiate non-existent class: stdobject in /in/XAU6F on line 5