3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace Foo; const TRUE = false; if (TRUE) { echo "TRUE"; } else { echo "FALSE!!!"; }
Output for hhvm-3.10.0 - 3.12.0
TRUE
Output for 5.3.0 - 5.4.7
Fatal error: Cannot redeclare constant 'TRUE' in /in/XXfKF on line 3
Process exited with code 255.