3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'T_FINALY'; var_dump(T_FINALLY); echo 'T_INSTEADOF'; var_dump(T_INSTEADOF); echo 'T_TRAIT'; var_dump(T_TRAIT); echo 'T_TRAIT_C'; var_dump(T_TRAIT_C); echo 'T_YIELD'; var_dump(T_YIELD);
Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.1, 8.3.3, 8.3.5 - 8.3.6
T_FINALYint(316) T_INSTEADOFint(319) T_TRAITint(334) T_TRAIT_Cint(347) T_YIELDint(281)
Output for 8.3.0, 8.3.2, 8.3.4
T_FINALYint(353) T_INSTEADOFint(355) T_TRAITint(370) T_TRAIT_Cint(383) T_YIELDint(268)
Output for 8.0.30
T_FINALYint(316) T_INSTEADOFint(319) T_TRAITint(333) T_TRAIT_Cint(345) T_YIELDint(281)
Output for 8.0.0 - 8.0.29
T_FINALYint(351) T_INSTEADOFint(353) T_TRAITint(367) T_TRAIT_Cint(379) T_YIELDint(268)
Output for 7.4.0 - 7.4.33
T_FINALYint(348) T_INSTEADOFint(351) T_TRAITint(365) T_TRAIT_Cint(377) T_YIELDint(267)
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33
T_FINALYint(351) T_INSTEADOFint(354) T_TRAITint(362) T_TRAIT_Cint(374) T_YIELDint(267)
Output for 5.6.0 - 5.6.28
T_FINALYint(342) T_INSTEADOFint(345) T_TRAITint(359) T_TRAIT_Cint(369) T_YIELDint(267)
Output for 5.5.0 - 5.5.38
T_FINALYint(340) T_INSTEADOFint(343) T_TRAITint(357) T_TRAIT_Cint(367) T_YIELDint(267)
Output for 5.4.0 - 5.4.45
T_FINALY Notice: Use of undefined constant T_FINALLY - assumed 'T_FINALLY' in /in/Ybt6M on line 3 string(9) "T_FINALLY" T_INSTEADOFint(341) T_TRAITint(355) T_TRAIT_Cint(365) T_YIELD Notice: Use of undefined constant T_YIELD - assumed 'T_YIELD' in /in/Ybt6M on line 7 string(7) "T_YIELD"
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
T_FINALY Notice: Use of undefined constant T_FINALLY - assumed 'T_FINALLY' in /in/Ybt6M on line 3 string(9) "T_FINALLY" T_INSTEADOF Notice: Use of undefined constant T_INSTEADOF - assumed 'T_INSTEADOF' in /in/Ybt6M on line 4 string(11) "T_INSTEADOF" T_TRAIT Notice: Use of undefined constant T_TRAIT - assumed 'T_TRAIT' in /in/Ybt6M on line 5 string(7) "T_TRAIT" T_TRAIT_C Notice: Use of undefined constant T_TRAIT_C - assumed 'T_TRAIT_C' in /in/Ybt6M on line 6 string(9) "T_TRAIT_C" T_YIELD Notice: Use of undefined constant T_YIELD - assumed 'T_YIELD' in /in/Ybt6M on line 7 string(7) "T_YIELD"

preferences:
305.11 ms | 404 KiB | 385 Q