3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = '1-350,9-390.99'; $chunks = array_chunk(preg_split('/[-,]/', $input), 2); $result = array_combine(array_column($chunks, 0), array_column($chunks, 1)); print_r($result);

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.4.140.0120.00917.76
8.4.130.0120.00819.66
8.4.120.0100.00823.73
8.4.110.0040.00620.74
8.4.100.0080.01118.74
8.4.90.0120.00820.40
8.4.80.0140.00619.07
8.4.70.0110.00820.49
8.4.60.0140.00618.79
8.4.50.0050.00517.74
8.4.40.0120.00318.19
8.4.30.0060.01318.66
8.4.20.0070.01319.98
8.4.10.0000.00923.70
8.3.270.0090.01016.63
8.3.260.0110.00616.84
8.3.250.0130.00616.98
8.3.240.0070.00217.34
8.3.230.0060.00316.65
8.3.220.0100.00618.80
8.3.210.0060.00318.56
8.3.200.0140.00616.56
8.3.190.0090.01017.22
8.3.180.0130.00616.53
8.3.170.0130.00617.04
8.3.160.0000.00816.68
8.3.150.0110.00817.29
8.3.140.0080.00016.55
8.3.130.0000.00818.34
8.3.120.0000.00820.50
8.3.110.0090.00016.77
8.3.100.0120.00316.31
8.3.90.0050.00326.77
8.3.80.0040.00716.62
8.3.70.0120.00316.73
8.3.60.0120.00318.31
8.3.50.0080.00620.16
8.3.40.0070.00720.34
8.3.30.0110.00418.64
8.3.20.0040.00424.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.290.0140.00520.11
8.2.280.0120.00618.39
8.2.270.0070.01117.28
8.2.260.0070.00718.83
8.2.250.0000.00817.11
8.2.240.0000.00818.74
8.2.230.0060.00320.94
8.2.220.0000.00924.06
8.2.210.0040.00426.77
8.2.200.0100.00018.41
8.2.190.0150.00916.63
8.2.180.0180.00025.92
8.2.170.0150.00622.96
8.2.160.0070.00722.96
8.2.150.0000.00825.66
8.2.140.0080.00024.66
8.2.130.0110.00426.16
8.2.120.0040.00419.33
8.2.110.0060.00320.54
8.2.100.0090.00318.03
8.2.90.0090.00019.23
8.2.80.0030.00517.97
8.2.70.0000.00817.75
8.2.60.0000.00917.93
8.2.50.0040.00418.07
8.2.40.0000.00818.22
8.2.30.0020.00518.07
8.2.20.0050.00219.13
8.2.10.0050.00417.95
8.2.00.0050.00718.52
8.1.330.0140.00521.78
8.1.320.0090.00916.07
8.1.310.0050.00316.56
8.1.300.0090.00016.50
8.1.290.0030.00630.84
8.1.280.0140.00325.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0000.00923.96
8.1.230.0000.01019.07
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.00917.47
8.1.190.0030.00517.48
8.1.180.0050.00318.10
8.1.170.0040.00418.84
8.1.160.0000.00718.89
8.1.150.0040.00418.68
8.1.140.0050.00418.37
8.1.130.0020.01118.31
8.1.120.0060.00617.53
8.1.110.0160.00117.54
8.1.100.0120.00517.56
8.1.90.0160.00317.49
8.1.80.0110.00517.49
8.1.70.0150.00317.47
8.1.60.0110.00917.59
8.1.50.0130.00717.56
8.1.40.0150.00617.56
8.1.30.0140.00717.63
8.1.20.0150.00517.60
8.1.10.0130.00617.55
8.1.00.0120.00517.50
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0030.00318.29
8.0.270.0080.00018.68
8.0.260.0060.00517.52
8.0.250.0050.00716.88
8.0.240.0100.00516.92
8.0.230.0110.00416.87
8.0.220.0150.00316.90
8.0.210.0170.00016.88
8.0.200.0080.00816.87
8.0.190.0070.00816.92
8.0.180.0080.00816.79
8.0.170.0130.00216.81
8.0.160.0060.00916.80
8.0.150.0120.00416.87
8.0.140.0100.00516.81
8.0.130.0110.00516.83
8.0.120.0100.00516.90
8.0.110.0110.00416.92
8.0.100.0120.00216.94
8.0.90.0110.00416.84
8.0.80.0100.00516.95
8.0.70.0120.00416.86
8.0.60.0080.00716.96
8.0.50.0110.00616.85
8.0.30.0150.00016.84
8.0.20.0110.00517.00
8.0.10.0120.00317.03
7.4.330.0070.00115.92
7.4.320.0160.00116.70
7.4.300.0150.00316.68
7.4.290.0120.00416.63
7.4.280.0110.00516.73
7.4.270.0140.00416.59
7.4.260.0080.00916.59
7.4.250.0120.00516.63
7.4.240.0100.00816.69
7.4.230.0120.00516.59
7.4.220.0110.00516.59
7.4.210.0140.00116.65
7.4.200.0090.00416.56
7.4.190.0110.00116.58
7.4.180.0060.00516.50
7.4.160.0070.00616.63
7.4.150.0110.00216.50
7.4.140.0100.00216.58
7.4.130.0100.00316.46
7.4.120.0120.00016.27
7.4.110.0060.00616.35
7.4.100.0070.00516.53
7.4.90.0070.00516.53
7.4.80.0060.00716.47
7.4.70.0090.00316.57
7.4.60.0080.00516.40
7.4.50.0060.00716.22
7.4.40.0080.00316.36
7.4.30.0060.00616.41
7.4.20.0070.00416.48
7.4.10.0060.00616.24
7.4.00.0070.00416.34

preferences:
88.05 ms | 403 KiB | 5 Q