3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c=' <?php $c=\'%s\'; printf($c, $c);'; printf(addslashes($c), "c");

preferences:
48.55 ms | 402 KiB | 5 Q