3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tokens = token_get_all(<<<EOF <?php echo ""; EOF ); foreach ($tokens as $token) { if (is_array($token)) { echo "Line {$token[2]}: ", token_name($token[0]), " ('{$token[1]}')", PHP_EOL; } }

preferences:
36.02 ms | 405 KiB | 5 Q