3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //define("true",false); -- notice: Constant already defined ... define("TRUE", "love"); echo "\n",TRUE; echo "\nUDEF TRUE: ",constant("TRUE"); echo "\n",true;
Output for 5.1.3 - 7.1.0
1 UDEF TRUE: love 1
Output for 4.3.0 - 5.1.2
love UDEF TRUE: love 1