3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace ''; define('Foo\\PHP_EOL',"\t\t\t"); print "<pre>a".PHP_EOL."b".PHP_EOL."c</pre>";
Output for 5.4.0 - 5.4.13
Parse error: syntax error, unexpected '''' (T_CONSTANT_ENCAPSED_STRING), expecting identifier (T_STRING) or \\ (T_NS_SEPARATOR) or '{' in /in/msf36 on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.23
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING or T_NS_SEPARATOR or '{' in /in/msf36 on line 2
Process exited with code 255.