3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo token_name(310);
Output for 8.0.30, 8.1.0 - 8.1.31, 8.2.0 - 8.2.26, 8.3.1, 8.3.3, 8.3.5 - 8.3.6, 8.3.8, 8.3.10, 8.3.12, 8.3.14, 8.4.1 - 8.4.2
T_FUNCTION
Output for 8.3.0, 8.3.2, 8.3.4, 8.3.7, 8.3.9, 8.3.11, 8.3.13
T_ELSE
Output for 7.4.0 - 7.4.33, 8.0.0 - 8.0.29
T_DNUMBER
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.33
T_ENDIF
Output for 5.6.0 - 5.6.28
T_STRING
Output for 5.5.0 - 5.5.38
T_VARIABLE
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45
T_NUM_STRING
Output for 5.0.0 - 5.0.5
T_INLINE_HTML
Output for 4.4.2 - 4.4.9
T_CHARACTER
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.1
T_BAD_CHARACTER

preferences:
54.27 ms | 417 KiB | 5 Q