3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo token_name(315); echo token_name(316);
Output for 7.0.0 - 7.1.0
T_PROTECTEDT_PUBLIC
Output for 5.1.0 - 5.4.45, hhvm-3.10.0 - 3.12.0
T_CONSTANT_ENCAPSED_STRINGT_ECHO
Output for 5.6.0 - 5.6.28
T_CHARACTERT_BAD_CHARACTER
Output for 5.5.0 - 5.5.37
T_ENCAPSED_AND_WHITESPACET_CONSTANT_ENCAPSED_STRING
Output for 5.0.0 - 5.0.5
T_ECHOT_DO
Output for 4.4.2 - 4.4.9
T_DOT_WHILE
Output for 4.3.0 - 4.4.1
T_WHILET_ENDWHILE