3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // namespace foo; define('TRUE', false); var_dump(TRUE); # false
based on lWi2a
Output for 5.1.3 - 7.1.0
bool(true)
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.1.2
bool(false)
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/s0ZVV on line 7
Process exited with code 255.