3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(token_name(335));
Output for 7.0.0 - 7.1.0
string(12) "T_ENDFOREACH"
Output for 5.3.0 - 5.4.45, hhvm-3.10.0 - 3.12.0
string(7) "T_CONST"
Output for 5.6.0 - 5.6.28
string(10) "T_CONTINUE"
Output for 5.5.0 - 5.5.38
string(10) "T_FUNCTION"
Output for 5.1.0 - 5.2.17
string(8) "T_RETURN"
Output for 5.0.0 - 5.0.5
string(5) "T_TRY"
Output for 4.4.2 - 4.4.9
string(5) "T_USE"
Output for 4.3.0 - 4.4.1
string(8) "T_GLOBAL"