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); echo $x; ?>\'; $x = str_replace(chr(0x2A), $x, $x); $x = addslashes($x); echo $x; ?>
Output for 5.4.0 - 5.4.4
Parse error: syntax error, unexpected ''<?php $x = \'*\'; $x = str_re' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) in /in/TaA6l on line 1
Process exited with code 255.
Output for 5.3.0 - 5.3.14
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING in /in/TaA6l on line 1
Process exited with code 255.