3v4l.org

run code in 300+ PHP versions simultaneously
<?php $prodCount = 6; $order_id = 101; for($count=5;$count<=$prodCount;$count=$count+5) { $orders[] = $order_id; }

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.60.0120.00316.63
8.3.50.0090.00921.95
8.3.40.0080.00818.67
8.3.30.0140.00019.13
8.3.20.0000.00820.37
8.3.10.0000.00723.61
8.3.00.0040.00419.08
8.2.180.0040.01116.50
8.2.170.0150.00022.96
8.2.160.0030.01020.38
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0000.01120.73
8.2.110.0060.01220.35
8.2.100.0060.00617.72
8.2.90.0040.00419.09
8.2.80.0030.00617.97
8.2.70.0000.00817.63
8.2.60.0040.00417.80
8.2.50.0050.00318.07
8.2.40.0040.00421.25
8.2.30.0070.00018.25
8.2.20.0040.00417.66
8.2.10.0050.00317.93
8.2.00.0040.00417.68
8.1.280.0100.01025.92
8.1.270.0040.00423.92
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00823.84
8.1.230.0090.00317.42
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0040.00817.22
8.1.190.0030.00517.10
8.1.180.0040.00418.10
8.1.170.0000.00818.31
8.1.160.0050.00321.87
8.1.150.0050.00218.57
8.1.140.0040.00417.39
8.1.130.0030.00317.77
8.1.120.0070.00017.38
8.1.110.0000.00817.41
8.1.100.0000.00817.36
8.1.90.0030.00517.31
8.1.80.0020.00517.38
8.1.70.0030.00317.29
8.1.60.0060.00317.50
8.1.50.0080.00017.47
8.1.40.0000.00717.50
8.1.30.0030.00617.59
8.1.20.0000.00717.58
8.1.10.0030.00517.33
8.1.00.0040.00417.38
8.0.300.0070.00018.77
8.0.290.0000.00716.93
8.0.280.0050.00218.38
8.0.270.0070.00017.19
8.0.260.0000.00717.11
8.0.250.0030.00316.99
8.0.240.0030.00616.89
8.0.230.0040.00416.85
8.0.220.0040.00416.71
8.0.210.0030.00316.81
8.0.200.0030.00316.87
8.0.190.0040.00416.91
8.0.180.0000.00716.75
8.0.170.0020.00516.78
8.0.160.0040.00316.67
8.0.150.0040.00416.75
8.0.140.0000.00816.69
8.0.130.0000.00513.23
8.0.120.0070.00016.63
8.0.110.0000.00716.82
8.0.100.0040.00416.71
8.0.90.0070.00016.94
8.0.80.0060.00916.89
8.0.70.0050.00216.73
8.0.60.0000.00716.71
8.0.50.0040.00416.71
8.0.30.0050.01317.04
8.0.20.0120.00717.40
8.0.10.0040.00416.80
8.0.00.0150.00716.79
7.4.330.0000.00515.07
7.4.320.0040.00416.58
7.4.300.0060.00316.52
7.4.290.0040.00416.51
7.4.280.0060.00316.43
7.4.270.0040.00416.46
7.4.260.0090.00016.41
7.4.250.0070.00016.35
7.4.240.0040.00316.41
7.4.230.0070.00016.52
7.4.220.0100.01716.48
7.4.210.0050.01216.51
7.4.200.0050.00316.54
7.4.190.0070.00016.62
7.4.160.0090.00616.55
7.4.150.0090.00917.40
7.4.140.0120.00617.86
7.4.130.0070.01016.38
7.4.120.0110.00516.39
7.4.110.0150.00616.34
7.4.100.0140.01116.50
7.4.90.0040.01416.43
7.4.80.0070.01019.39
7.4.70.0060.01016.36
7.4.60.0120.00616.52
7.4.50.0000.00716.47
7.4.40.0120.00916.49
7.4.30.0160.00616.44
7.4.00.0030.00914.88
7.3.330.0000.00612.93
7.3.320.0030.00313.07
7.3.310.0030.00316.29
7.3.300.0030.00316.11
7.3.290.0110.00416.15
7.3.280.0110.00716.21
7.3.270.0070.01117.40
7.3.260.0030.02016.38
7.3.250.0110.00916.18
7.3.240.0030.01316.23
7.3.230.0060.01016.49
7.3.210.0100.00616.51
7.3.200.0150.00619.39
7.3.190.0060.01316.15
7.3.180.0100.01016.27
7.3.170.0130.00616.59
7.3.160.0160.00016.43
7.3.120.0040.01414.51
7.2.330.0070.01416.67
7.2.320.0070.01016.68
7.2.310.0090.00816.45
7.2.300.0130.00316.63
7.2.290.0100.00716.46
7.2.00.0030.01219.05
7.1.200.0080.00415.63
7.1.100.0030.01317.86
7.1.70.0040.00416.97
7.1.60.0130.01319.46
7.1.50.0030.01717.01
7.1.00.0130.06322.39
7.0.200.0030.00716.87
7.0.140.0030.07322.21
7.0.60.0100.08020.04
7.0.50.0030.08317.81
7.0.40.0070.08320.06
7.0.30.0600.07320.13
7.0.20.0300.03720.16
7.0.10.0230.04020.09
7.0.00.0100.08320.30
5.6.280.0030.07321.11
5.6.210.0030.06720.52
5.6.200.0130.06718.15
5.6.190.0100.07320.41
5.6.180.4100.04320.59
5.6.170.0370.06720.54
5.6.160.0100.07720.50
5.6.150.0100.08018.21
5.6.140.0100.07318.14
5.6.130.0030.05318.18
5.6.120.0030.08721.00
5.6.110.0070.05020.95
5.6.100.0030.04021.13
5.6.90.0200.07321.09
5.6.80.0100.07720.37
5.6.70.0270.07020.49
5.5.350.0100.07020.29
5.5.340.0000.04317.91
5.5.330.0030.04020.21
5.5.320.0470.06320.44
5.5.310.0300.08020.26
5.5.300.0070.06317.91
5.5.290.0070.06717.97
5.5.280.0030.04320.96
5.5.270.0030.09020.79
5.5.260.0070.08720.79
5.5.250.0170.06020.46
5.5.240.0170.05720.11
5.4.450.0670.06019.48
5.4.440.0830.05719.54
5.4.430.0800.05019.41
5.4.420.0670.00019.64
5.4.410.0100.05718.67
5.4.400.0200.05318.59
5.4.390.0170.05718.49
5.4.380.0200.06018.72
5.4.370.0130.05018.72
5.4.360.0070.03718.56
5.4.350.0080.03811.97
5.4.340.0090.06311.97
5.4.320.0040.03612.45
5.4.310.0080.04612.45
5.4.300.0060.05212.45
5.4.290.0080.05312.45
5.4.280.0050.06312.35
5.4.270.0070.05012.35
5.4.260.0090.05112.34
5.4.250.0070.05312.34
5.4.240.0100.04912.35
5.4.230.0050.05512.34
5.4.220.0080.05212.34
5.4.210.0080.05112.34
5.4.200.0110.04912.34
5.4.190.0070.05212.34
5.4.180.0070.05212.34
5.4.170.0070.05212.34
5.4.160.0040.05212.34
5.4.150.0050.05212.34
5.4.140.0070.05312.02
5.4.130.0040.05112.01
5.4.120.0060.03511.97
5.4.110.0110.04111.96
5.4.100.0060.05011.96
5.4.90.0090.05011.96
5.4.80.0080.05411.96
5.4.70.0080.05111.96
5.4.60.0060.05111.96
5.4.50.0070.04011.96
5.4.40.0090.03511.95
5.4.30.0030.04211.95
5.4.20.0070.04511.95
5.4.10.0060.03711.95
5.4.00.0060.03811.44
5.3.290.0050.04912.80
5.3.280.0070.04712.71
5.3.270.0070.04312.72
5.3.260.0080.03912.72
5.3.250.0110.03912.72
5.3.240.0080.05012.72
5.3.230.0080.04812.71
5.3.220.0070.04712.68
5.3.210.0070.04912.68
5.3.200.0070.05012.68
5.3.190.0160.05112.68
5.3.180.0110.05412.68
5.3.170.0130.05412.67
5.3.160.0100.04812.67
5.3.150.0080.04812.67
5.3.140.0070.04612.66
5.3.130.0080.03912.65
5.3.120.0090.04312.66
5.3.110.0100.03712.65
5.3.100.0080.04812.12
5.3.90.0100.04812.09
5.3.80.0110.04512.07
5.3.70.0110.04512.07
5.3.60.0160.04012.07
5.3.50.0130.04312.00
5.3.40.0170.04012.00
5.3.30.0150.04411.94
5.3.20.0200.03911.72
5.3.10.0090.04611.69
5.3.00.0050.04511.67
5.2.170.0090.0369.18
5.2.160.0090.0389.18
5.2.150.0060.0379.18
5.2.140.0040.0439.18
5.2.130.0070.0419.14
5.2.120.0090.0379.13
5.2.110.0080.0489.14
5.2.100.0080.0379.14
5.2.90.0090.0339.14
5.2.80.0080.0319.13
5.2.70.0020.0409.13
5.2.60.0040.0319.09
5.2.50.0030.0329.05
5.2.40.0050.0359.03
5.2.30.0050.0369.00
5.2.20.0050.0409.00
5.2.10.0070.0358.91
5.2.00.0090.0378.78
5.1.60.0040.0358.06
5.1.50.0070.0328.05
5.1.40.0100.0328.04
5.1.30.0080.0388.39
5.1.20.0080.0368.41
5.1.10.0060.0298.13
5.1.00.0050.0298.13
5.0.50.0070.0266.61
5.0.40.0060.0266.48
5.0.30.0060.0406.29
5.0.20.0080.0326.25
5.0.10.0040.0286.24
5.0.00.0040.0416.23
4.4.90.0180.0484.78
4.4.80.0060.0214.75
4.4.70.0030.0244.76
4.4.60.0060.0434.75
4.4.50.0030.0324.77
4.4.40.0070.0364.71
4.4.30.0040.0234.76
4.4.20.0050.0214.84
4.4.10.0110.0264.85
4.4.00.0050.0804.76
4.3.110.0050.0504.66
4.3.100.0090.0324.66
4.3.90.0040.0214.63
4.3.80.0060.0314.58
4.3.70.0030.0234.63
4.3.60.0020.0234.63
4.3.50.0040.0224.63
4.3.40.0040.0334.54
4.3.30.0030.0183.29
4.3.20.0030.0203.26
4.3.10.0030.0203.22
4.3.00.0130.0277.62

preferences:
56.23 ms | 401 KiB | 5 Q