3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace Foo { const TRUE = 0; const FALSE = 1; if (strpos("foobarbaz", "bar") !== FALSE) { echo "It's There!"; } else { echo "It's Not There!"; } }
Output for 5.3.0 - 5.4.19
Fatal error: Cannot redeclare constant 'TRUE' in /in/crH0b on line 4
Process exited with code 255.