3v4l.org

run code in 200+ 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 - 7.2.0
bool(true) TRUE
Output for 4.3.0 - 5.1.2
string(2) "hi" FALSE