3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(token_name(322));
based on UrLuk
Output for 7.0.0 - 7.2.0
string(25) "T_ENCAPSED_AND_WHITESPACE"
Output for 5.6.8 - 5.6.21
string(10) "T_ENDWHILE"
Output for 5.5.24 - 5.5.35
string(8) "T_ENDFOR"
Output for 5.3.21 - 5.4.45
string(9) "T_FOREACH"