3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace Bar { const TRUE = 1; var_dump(true, TRUE); }
Output for 5.3.0 - 5.4.27
Fatal error: Cannot redeclare constant 'TRUE' in /in/7KtAR on line 4
Process exited with code 255.