3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = "foo"; ${'"x"'} = "bar"; $doc = "${<<<'HERE' "x" HERE }"; var_dump($doc);

preferences:
208.08 ms | 407 KiB | 5 Q