3v4l.org

run code in 300+ PHP versions simultaneously
<?php $prepend = array('00','01','02','03','04','05','06','07','08','09'); $hours = array_merge($prepend,range(10, 23)); $minutes = array_merge($prepend,range(10, 59)); $seconds = $minutes;

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.0100.00618.43
8.3.50.0110.00521.92
8.3.40.0040.01118.56
8.3.30.0040.01118.96
8.3.20.0000.00720.33
8.3.10.0040.00422.00
8.3.00.0040.00422.39
8.2.180.0050.01016.59
8.2.170.0060.01322.96
8.2.160.0100.00318.89
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0040.00419.25
8.2.110.0030.00620.97
8.2.100.0080.00317.78
8.2.90.0030.00521.09
8.2.80.0030.00618.09
8.2.70.0040.00417.37
8.2.60.0050.00317.50
8.2.50.0040.00417.63
8.2.40.0030.00617.63
8.2.30.0070.00017.53
8.2.20.0000.00717.49
8.2.10.0040.00417.55
8.2.00.0020.00517.67
8.1.280.0140.01025.92
8.1.270.0040.00422.05
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00622.42
8.1.230.0110.00420.97
8.1.220.0030.00517.79
8.1.210.0000.00818.77
8.1.200.0040.00417.10
8.1.190.0050.00317.10
8.1.180.0050.00518.10
8.1.170.0040.00417.62
8.1.160.0040.00418.72
8.1.150.0040.00418.48
8.1.140.0030.00717.33
8.1.130.0030.00317.79
8.1.120.0070.00017.36
8.1.110.0000.00717.36
8.1.100.0040.00417.29
8.1.90.0040.00417.28
8.1.80.0000.00717.29
8.1.70.0030.00517.31
8.1.60.0000.00817.57
8.1.50.0040.00417.34
8.1.40.0030.00517.43
8.1.30.0000.00717.48
8.1.20.0050.00317.57
8.1.10.0000.00817.48
8.1.00.0040.00417.36
8.0.300.0070.00019.96
8.0.290.0000.00716.63
8.0.280.0000.00717.94
8.0.270.0070.00017.99
8.0.260.0050.00216.73
8.0.250.0000.00716.92
8.0.240.0020.00516.86
8.0.230.0000.00716.88
8.0.220.0070.00016.80
8.0.210.0000.00716.78
8.0.200.0080.00016.89
8.0.190.0070.00016.86
8.0.180.0040.00416.86
8.0.170.0040.00416.77
8.0.160.0000.00816.92
8.0.150.0030.00316.77
8.0.140.0070.00016.84
8.0.130.0000.00513.29
8.0.120.0050.00316.75
8.0.110.0000.00716.68
8.0.100.0070.00016.63
8.0.90.0040.00416.85
8.0.80.0060.00916.75
8.0.70.0000.00716.78
8.0.60.0040.00416.79
8.0.50.0000.00716.81
8.0.30.0110.00817.15
8.0.20.0080.00817.40
8.0.10.0000.00716.89
8.0.00.0160.00516.74
7.4.330.0050.00015.00
7.4.320.0060.00016.45
7.4.300.0000.00616.53
7.4.290.0030.00316.52
7.4.280.0030.00316.42
7.4.270.0060.00016.49
7.4.260.0040.00416.51
7.4.250.0030.00516.32
7.4.240.0020.00616.40
7.4.230.0030.00316.55
7.4.220.0170.00016.54
7.4.210.0050.00916.47
7.4.200.0000.00816.63
7.4.190.0030.00316.38
7.4.160.0070.01016.39
7.4.150.0130.00317.40
7.4.140.0100.00717.86
7.4.130.0080.00816.35
7.4.120.0130.00316.36
7.4.110.0130.00316.43
7.4.100.0070.01116.43
7.4.90.0070.01016.34
7.4.80.0060.01619.39
7.4.70.0100.00716.36
7.4.60.0090.00916.52
7.4.50.0000.00816.58
7.4.40.0070.01122.77
7.4.30.0120.00416.64
7.4.00.0000.01114.62
7.3.330.0060.00013.08
7.3.320.0000.00612.93
7.3.310.0030.00316.13
7.3.300.0040.00416.09
7.3.290.0060.00716.23
7.3.280.0070.01016.22
7.3.270.0060.01117.40
7.3.260.0110.00616.17
7.3.250.0160.00416.27
7.3.240.0070.01316.41
7.3.230.0060.01616.39
7.3.210.0100.00716.13
7.3.200.0080.00819.39
7.3.190.0200.00316.23
7.3.180.0120.00316.36
7.3.170.0130.00616.27
7.3.160.0000.01616.36
7.3.120.0030.01015.05
7.2.330.0100.00716.48
7.2.320.0130.00516.47
7.2.310.0030.01816.38
7.2.300.0090.00616.48
7.2.290.0000.01616.19
7.1.70.0030.00517.22
7.1.60.0030.01719.82
7.1.50.0030.01716.93
7.1.00.0100.06722.33
7.0.200.0030.00916.76
7.0.140.0100.07022.08
7.0.60.0030.06719.81
7.0.50.0070.08017.88
7.0.40.0100.06720.20
7.0.30.0270.08320.22
7.0.20.0270.05320.01
7.0.10.0100.05020.18
7.0.00.0000.07320.08
5.6.280.0170.06020.85
5.6.210.0030.04020.44
5.6.200.0100.08318.11
5.6.190.0030.09020.35
5.6.180.3800.04020.57
5.6.170.0430.07020.45
5.6.160.0030.04320.50
5.6.150.0070.04018.18
5.6.140.0030.05018.09
5.6.130.0000.08318.21
5.6.120.0030.06020.96
5.6.110.0000.04721.07
5.6.100.0070.07721.03
5.6.90.0030.07021.13
5.6.80.0100.07720.40
5.6.70.0270.06720.38
5.5.350.0100.07320.44
5.5.340.0000.04018.02
5.5.330.0100.04020.41
5.5.320.0230.03720.17
5.5.310.0300.07720.13
5.5.300.0070.04017.91
5.5.290.0130.06317.98
5.5.280.0130.07320.87
5.5.270.0030.05720.86
5.5.260.0100.07320.77
5.5.250.0070.05720.47
5.5.240.0130.08020.15
5.4.450.0430.05719.27
5.4.440.0500.05319.48
5.4.430.0130.05319.48
5.4.420.0100.05719.25
5.4.410.0230.04719.25
5.4.400.1600.00018.79
5.4.390.1770.00018.50
5.4.380.0230.05718.61
5.4.370.0730.06318.48
5.4.360.1000.05318.57
5.4.350.0930.05018.64
5.4.340.0670.05718.59
5.4.320.0080.03612.47
5.4.310.0090.03612.46
5.4.300.0060.03612.46
5.4.290.0080.04012.46
5.4.280.0080.03812.36
5.4.270.0100.03612.36
5.4.260.0030.05318.84
5.4.250.0170.04018.74
5.4.240.0030.05318.90
5.4.230.0130.07318.83
5.4.220.0030.06018.72
5.4.210.0170.05718.92
5.4.200.0130.04318.83
5.4.190.0100.06018.88
5.4.180.0070.05018.98
5.4.170.0030.05318.73
5.4.160.0030.05718.76
5.4.150.0100.05018.87
5.4.140.0170.05316.26
5.4.130.0030.05016.28
5.4.120.0070.05716.25
5.4.110.0030.05016.48
5.4.100.0100.06016.44
5.4.90.0100.04316.29
5.4.80.0100.04316.41
5.4.70.0070.06316.48
5.4.60.0100.04716.46
5.4.50.0030.05016.39
5.4.40.0070.04716.26
5.4.30.0030.05316.45
5.4.20.0170.04016.41
5.4.10.0000.05716.31
5.4.00.0030.05015.93
5.3.290.0030.05112.80
5.3.280.0200.04014.63
5.3.270.0070.07014.32
5.3.260.0130.04314.39
5.3.250.0030.05314.31
5.3.240.0100.04714.31
5.3.230.0000.05714.63
5.3.220.0070.06714.45
5.3.210.0070.05014.73
5.3.200.0100.04314.73
5.3.190.0070.06714.61
5.3.180.0100.05314.42
5.3.170.0030.05314.46
5.3.160.0130.07014.61
5.3.150.0070.05314.59
5.3.140.0030.05014.66
5.3.130.0030.05314.58
5.3.120.0070.06014.61
5.3.110.0030.05314.45
5.3.100.0070.06014.07
5.3.90.0130.05714.04
5.3.80.0030.05014.12
5.3.70.0100.04713.94
5.3.60.0070.05714.02
5.3.50.0130.06313.85
5.3.40.0070.06014.05
5.3.30.0030.05313.96
5.3.20.0100.04313.71
5.3.10.0100.04313.68
5.3.00.0070.04713.70
5.2.170.0030.04011.10
5.2.160.0030.04711.16
5.2.150.0000.05011.07
5.2.140.0070.04010.99
5.2.130.0030.04311.01
5.2.120.0000.04311.13
5.2.110.0070.04011.27
5.2.100.0070.05311.26
5.2.90.0070.03711.00
5.2.80.0070.04010.86
5.2.70.0000.05011.26
5.2.60.0130.03710.82
5.2.50.0070.04011.18
5.2.40.0100.03310.91
5.2.30.0030.04010.82
5.2.20.0070.03710.89
5.2.10.0000.04310.88
5.2.00.0030.04010.71
5.1.60.0070.0339.86
5.1.50.0030.0339.98
5.1.40.0070.0339.95
5.1.30.0030.04310.40
5.1.20.0100.04010.37
5.1.10.0000.05710.16
5.1.00.0000.03710.16
5.0.50.0030.0308.59
5.0.40.0030.0378.61
5.0.30.0130.0338.29
5.0.20.0000.0308.23
5.0.10.0070.0238.24
5.0.00.0070.0378.25
4.4.90.0030.0206.84
4.4.80.0030.0206.84
4.4.70.0030.0206.84
4.4.60.0030.0206.84
4.4.50.0030.0206.84
4.4.40.0000.0376.84
4.4.30.0100.0136.84
4.4.20.0000.0176.84
4.4.10.0030.0206.84
4.4.00.0000.0376.84
4.3.110.0070.0276.84
4.3.100.0070.0276.84
4.3.90.0000.0206.84
4.3.80.0070.0276.84
4.3.70.0070.0136.84
4.3.60.0070.0176.84
4.3.50.0000.0236.84
4.3.40.0030.0336.84
4.3.30.0100.0136.84
4.3.20.0030.0206.84
4.3.10.0000.0236.84
4.3.00.0070.0279.23

preferences:
41.79 ms | 401 KiB | 5 Q