3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define('true', false); if ( true ) { echo 'tru'; } else { echo 'false'; }
Output for 5.5.0 - 7.1.0
Notice: Constant true already defined in /in/oKLKb on line 3 tru
Output for 4.3.0 - 5.4.45
tru