3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php $code = '<?php is_int(-9223372036854775808)'; 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.4 - 5.3.24, 5.3.26, 5.4.0 - 5.4.16
Parse error: syntax error, unexpected '<' in b87bN on line 3
Process exited with code 255.
Output for 5.3.25
Parse error: syntax error, unexpected '<' in /in/qtlvL on line 3
Process exited with code 255.

preferences:
175.71 ms | 1395 KiB | 47 Q