3v4l.org

run code in 300+ PHP versions simultaneously
<?php printf($c='<?php printf($c=%c%s%c,39,$c,39)?>',39,$c,39)
Output for 5.4.0 - 5.4.4
Parse error: syntax error, unexpected end of file in 2FpkC on line 1
Process exited with code 255.
Output for 5.3.0 - 5.3.14
Parse error: syntax error, unexpected $end in 2FpkC on line 1
Process exited with code 255.

preferences:
158.11 ms | 1399 KiB | 27 Q