3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo token_name(312);
based on nODQ0
Output for 7.0.0 - 7.1.0, 7.2.0
T_ABSTRACT
Output for 7.1.5 - 7.1.10
T_PROTECTED
Output for 5.6.8 - 5.6.28
T_VARIABLE
Output for 5.5.24 - 5.5.35
T_INLINE_HTML
Output for 5.1.0 - 5.2.2, 5.2.4 - 5.4.45
T_CHARACTER
Output for 5.2.3
UNKNOWN
Output for 5.0.0 - 5.0.5
T_BAD_CHARACTER
Output for 4.4.2 - 4.4.9
T_ENCAPSED_AND_WHITESPACE
Output for 4.3.0 - 4.4.1
T_CONSTANT_ENCAPSED_STRING