3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define("MY_NAMED_CONSTANT", "test"); MY_NAMED_CONSTNAT = "test2"; echo MY_NAMED_CONSTANT;
Output for 5.3.0 - 5.4.8
Parse error: syntax error, unexpected '=' in /in/Thc7C on line 4
Process exited with code 255.