3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(token_name(314));
based on iVm2X
Output for 7.0.0 - 7.1.0, 7.2.0
string(9) "T_PRIVATE"
Output for 7.1.5 - 7.1.10
string(7) "T_FINAL"
Output for 5.6.8 - 5.6.28
string(13) "T_INLINE_HTML"
Output for 5.5.24 - 5.5.35
string(15) "T_BAD_CHARACTER"
Output for 5.3.21 - 5.4.45
string(25) "T_ENCAPSED_AND_WHITESPACE"