3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(array() == false); var_dump(NULL == false); var_dump(new object() == false);
Output for 7.0.0 - 7.1.0
bool(true) bool(true) Fatal error: Uncaught Error: Class 'object' not found in /in/pF28D:5 Stack trace: #0 {main} thrown in /in/pF28D on line 5
Process exited with code 255.
Output for 5.0.0 - 5.6.28
bool(true) bool(true) Fatal error: Class 'object' not found in /in/pF28D 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: object in /in/pF28D 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: object in /in/pF28D on line 5