3v4l.org

run code in 300+ PHP versions simultaneously
$tokens = token_get_all("<?php echo; ?>"); print_r($tokens); $tokens = token_get_all('/* comment */'); print_r($tokens);
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.28
Parse error: syntax error, unexpected ';' in /in/jM2V2 on line 1
Process exited with code 255.

preferences:
173.74 ms | 1395 KiB | 65 Q