3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define('TRUE', false); echo TRUE, true, trUE; echo 'I loathe that which is', constant(TRUE);
based on lZa0v
Output for 5.1.3 - 5.6.28, 7.0.0 - 7.1.0
111I loathe that which is Warning: constant(): Couldn't find constant 1 in /in/PuHdG on line 4
Output for hhvm-3.10.0 - 3.12.0
Notice: Constant TRUE already defined in /in/PuHdG on line 2 111I loathe that which is Warning: constant(): Couldn't find constant 1 in /in/PuHdG on line 4
Output for 4.3.2 - 5.1.2
11I loathe that which is Warning: constant(): Couldn't find constant in /in/PuHdG on line 4
Output for 4.3.0 - 4.3.1
11I loathe that which is Warning: constant() [http://www.php.net/function.constant]: Couldn't find constant in /in/PuHdG on line 4