3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"result":{"0":["Adobe FrameMaker Document (.fm, .book)","application\/dca-rft"],"1":["Adobe Illustrator File (.ai)","application\/vnd.illustrator"],"2":["Adobe InDesign File (.indd)","application\/vnd.indesign"],"3":["Adobe Photoshop Document (.psd)","application\/vnd.photoshop"]}}'; $decoded = json_decode($json, true); $saneFormat = []; foreach ($decoded['result'] as $pair) { list($type, $mime) = $pair; $saneFormat[$mime] = $type; } var_dump($saneFormat);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.70.0070.01118.30
8.3.60.0110.01116.50
8.3.50.0100.01320.99
8.3.40.0040.01118.75
8.3.30.0090.00618.57
8.3.20.0070.00020.16
8.3.10.0080.00020.53
8.3.00.0060.00320.37
8.2.190.0120.00818.54
8.2.180.0110.00416.38
8.2.170.0120.00322.96
8.2.160.0110.00320.30
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00419.48
8.2.120.0040.00426.35
8.2.110.0030.00719.45
8.2.100.0080.00318.05
8.2.90.0000.00819.36
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0030.00518.16
8.2.50.0000.00818.09
8.2.40.0040.00420.59
8.2.30.0080.00021.21
8.2.20.0000.00717.80
8.2.10.0000.00818.12
8.2.00.0000.00718.12
8.1.280.0090.00925.92
8.1.270.0050.00324.01
8.1.260.0080.00028.09
8.1.250.0050.00328.09
8.1.240.0060.00322.87
8.1.230.0070.00417.52
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0050.00517.36
8.1.190.0060.00317.25
8.1.180.0070.00018.10
8.1.170.0000.00818.48
8.1.160.0030.00320.76
8.1.150.0070.00018.90
8.1.140.0030.00617.48
8.1.130.0030.00317.74
8.1.120.0000.00717.35
8.1.110.0080.00017.38
8.1.100.0080.00017.53
8.1.90.0040.00417.30
8.1.80.0040.00417.43
8.1.70.0030.00317.46
8.1.60.0030.00717.59
8.1.50.0040.00417.54
8.1.40.0030.00517.50
8.1.30.0030.00617.66
8.1.20.0040.00417.63
8.1.10.0060.00317.48
8.1.00.0000.00717.45
8.0.300.0070.00018.77
8.0.290.0060.00316.63
8.0.280.0030.00318.44
8.0.270.0040.00416.82
8.0.260.0090.00017.25
8.0.250.0000.00816.92
8.0.240.0000.00616.95
8.0.230.0000.00716.95
8.0.220.0000.00716.93
8.0.210.0000.00716.93
8.0.200.0030.00616.93
8.0.190.0000.00916.95
8.0.180.0040.00416.93
8.0.170.0050.00316.82
8.0.160.0000.00716.93
8.0.150.0050.00316.79
8.0.140.0040.00416.73
8.0.130.0000.00613.28
8.0.120.0060.00316.73
8.0.110.0040.00416.83
8.0.100.0000.00716.84
8.0.90.0080.00016.89
8.0.80.0090.00916.91
8.0.70.0000.00716.77
8.0.60.0040.00416.78
8.0.50.0070.00016.73
8.0.30.0130.00617.14
8.0.20.0170.00517.40
8.0.10.0040.00416.82
8.0.00.0110.00916.78
7.4.330.0050.00016.76
7.4.320.0000.00616.52
7.4.300.0040.00416.43
7.4.290.0080.00016.59
7.4.280.0030.00616.50
7.4.270.0000.00716.53
7.4.260.0030.00516.52
7.4.250.0030.00516.57
7.4.240.0000.00716.58
7.4.230.0030.00316.55
7.4.220.0130.01016.45
7.4.210.0090.00616.68
7.4.200.0050.00216.35
7.4.160.0130.00616.42
7.4.150.0090.00917.40
7.4.140.0140.00617.86
7.4.130.0070.01216.47
7.4.120.0030.01516.52
7.4.110.0070.01116.48
7.4.100.0120.00616.55
7.4.90.0150.00316.56
7.4.80.0120.00819.39
7.4.70.0040.01216.55
7.4.60.0070.01316.49
7.4.50.0070.00716.40
7.4.40.0110.00716.64
7.4.30.0110.00616.46
7.4.00.0100.00315.14
7.3.330.0000.00513.09
7.3.320.0060.00013.25
7.3.310.0040.00416.28
7.3.300.0000.00716.23
7.3.290.0070.01016.30
7.3.280.0080.00916.32
7.3.270.0070.01117.40
7.3.260.0120.00616.45
7.3.250.0080.00916.51
7.3.240.0180.00416.45
7.3.230.0160.00616.39
7.3.210.0070.01416.40
7.3.200.0100.01019.39
7.3.190.0160.00016.24
7.3.180.0100.00716.44
7.3.170.0130.00916.50
7.3.160.0080.01116.46
7.3.10.0120.00616.53
7.3.00.0070.00616.66
7.2.330.0110.00716.45
7.2.320.0120.00716.34
7.2.310.0030.01316.43
7.2.300.0120.00916.68
7.2.290.0100.00716.66
7.2.130.0130.00516.85
7.2.120.0050.00716.76
7.2.110.0050.00816.67
7.2.100.0080.00816.85
7.2.90.0090.00516.84
7.2.80.0110.00616.70
7.2.70.0150.00716.73
7.2.60.0040.00716.88
7.2.50.0070.00816.68
7.2.40.0060.00916.71
7.2.30.0030.00716.85
7.2.20.0070.00916.81
7.2.10.0090.00616.80
7.2.00.0020.01117.35
7.1.250.0090.00815.83
7.1.100.0000.01118.14
7.1.70.0080.00017.16
7.1.60.0170.00719.19
7.1.00.0030.07722.28
7.0.200.0370.00414.75
7.0.60.0330.08019.96
7.0.50.0070.07017.85
7.0.40.0000.05020.00
7.0.30.0400.06320.16
7.0.20.0370.07720.02
7.0.10.0030.05320.00
7.0.00.0170.07720.03
5.6.280.0070.07021.12
5.6.210.0130.05020.66
5.6.200.0030.04018.08
5.6.190.0130.07320.42
5.6.180.0200.03720.35
5.6.170.0470.07320.42
5.6.160.0070.08320.48
5.6.150.0170.07018.14
5.6.140.0100.07318.21
5.6.130.0030.08318.21
5.6.120.0070.06021.00
5.6.110.0000.04320.99
5.6.100.0130.08321.10
5.6.90.0100.07320.96
5.6.80.0030.08720.35
5.5.350.3470.04720.42
5.5.340.0270.06317.92
5.5.330.0030.04020.07
5.5.320.0300.06320.18
5.5.310.0330.06320.28
5.5.300.0030.04017.87
5.5.290.0030.08017.87
5.5.280.0030.05320.87
5.5.270.0030.07720.75
5.5.260.0070.08320.84
5.5.250.0070.05720.46
5.5.240.0300.07320.05

preferences:
26.59 ms | 401 KiB | 5 Q