3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php/* Note the use of quotes, this is important.  This example is checking * if the string 'TEST' is the name of a constant named TEST */if (defined('TEST')) {    echo TEST;}?>
Output for 5.4.0 - 5.4.32
Parse error: syntax error, unexpected 'if ' (T_STRING) in /in/TNivp on line 1
Process exited with code 255.