3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(token_name(317));
Output for 7.0.0 - 7.2.0
string(9) "T_LNUMBER"
Output for 5.6.8 - 5.6.28
string(25) "T_ENCAPSED_AND_WHITESPACE"
Output for 5.5.24 - 5.5.35
string(6) "T_ECHO"
Output for 5.3.21 - 5.4.45
string(4) "T_DO"