3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = '<?php $x = \'*\'; $x = str_replace(chr(0x2A), $x, $x); $x = addslashes($x); $x = str_replace("\n", '<br />', $x); echo $x; ?>'; $x = str_replace(chr(0x2A), $x, $x); $x = addslashes($x); $x = str_replace("\n", '<br />', $x); echo $x; ?>
Output for 5.3.0 - 5.4.4
Parse error: syntax error, unexpected '>' in /in/6fArA on line 6
Process exited with code 255.