3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define('TRUE', false); var_dump(true); var_dump(TRUE); var_dump(constant('TRUE')); var_dump(constant('true')); var_dump( true === TRUE ); var_dump();
Output for 5.3.0 - 7.1.0
bool(true) bool(true) bool(false) bool(true) bool(true) Warning: var_dump() expects at least 1 parameter, 0 given in /in/bWDn0 on line 11
Output for 5.1.3 - 5.2.17
bool(true) bool(true) bool(false) bool(true) bool(true) Warning: Wrong parameter count for var_dump() in /in/bWDn0 on line 11
Output for 4.3.0 - 5.1.2
bool(true) bool(false) bool(false) bool(true) bool(false) Warning: Wrong parameter count for var_dump() in /in/bWDn0 on line 11