3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(token_get_all(<<<EOD <?php \$string['message'] = 'construction'; \$text = "this is a \${string['message']} that is valid".PHP_EOL; echo \$text; EOD ));

preferences:
55.52 ms | 402 KiB | 5 Q