3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tokens = token_get_all('<?php $a = 1 + 2; echo $a ?>'); foreach($tokens => $token) { echo token_name($tokne[0]); }
Output for 5.4.0 - 5.4.13
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /in/GT3LZ on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.23
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /in/GT3LZ on line 5
Process exited with code 255.