3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php $code = '<?php echo 0x00+2;'; foreach(token_get_all($code) as $c){ if(is_array($c)){ print(token_name($c[0]).": '".htmlentities($c[1])."'\n"); } else { print("$c\n"); } }
Output for 5.3.0 - 5.3.26, 5.4.0 - 5.4.16
Parse error: syntax error, unexpected '<' in /in/qGAp5 on line 3
Process exited with code 255.

preferences:
184.88 ms | 1395 KiB | 51 Q