3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define("TRUE", 'hi'); var_dump(TRUE); if (TRUE === true) { echo "TRUE"; } else { echo "FALSE"; }
Output for 5.1.3 - 5.6.28, 7.0.0 - 7.1.0
bool(true) TRUE
Output for hhvm-3.12.0
Notice: Constant TRUE already defined in /in/lr8nV on line 3 bool(true) TRUE
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.1.2
string(2) "hi" FALSE