3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.32, 8.2.0 - 8.2.28, 8.3.0 - 8.3.20, 8.4.1 - 8.4.6
array(10) { ["txt|asc|c|cc|h|srt"]=> string(10) "text/plain" ["rtx"]=> string(13) "text/richtext" ["dotx"]=> string(71) "application/vnd.openxmlformats-officedocument.wordprocessingml.template" ["xltx"]=> string(68) "application/vnd.openxmlformats-officedocument.spreadsheetml.template" ["pptx"]=> string(73) "application/vnd.openxmlformats-officedocument.presentationml.presentation" ["potx"]=> string(69) "application/vnd.openxmlformats-officedocument.presentationml.template" ["xla|xls|xlt|xlw"]=> string(24) "application/vnd.ms-excel" ["xlsx"]=> string(65) "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ["xlsm"]=> string(46) "application/vnd.ms-excel.sheet.macroEnabled.12" ["xlsb"]=> string(53) "application/vnd.ms-excel.sheet.binary.macroEnabled.12" }

preferences:
163.27 ms | 414 KiB | 5 Q