3v4l.org

run code in 300+ PHP versions simultaneously
<?php $capacities = array(25,150,50000,200000,5000000); foreach ($capacities as $c) { echo sprintf("Capacity of %s will be allowed to overdraw by %s.\n", $c, ceiling($c*0.10,15)); }

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.40.0070.00718.67
8.3.30.0110.00319.08
8.3.20.0040.00420.16
8.3.10.0070.00320.54
8.3.00.0040.00419.38
8.2.170.0120.00322.96
8.2.160.0130.00720.38
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0140.00026.16
8.2.120.0060.00320.82
8.2.110.0060.00322.16
8.2.100.0090.00319.63
8.2.90.0060.00319.13
8.2.80.0030.00517.97
8.2.70.0030.00617.63
8.2.60.0000.00817.93
8.2.50.0030.00518.09
8.2.40.0000.00818.03
8.2.30.0030.00519.42
8.2.20.0040.00417.81
8.2.10.0070.00018.17
8.2.00.0040.00417.84
8.1.270.0030.00623.96
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00323.96
8.1.230.0110.00019.12
8.1.220.0000.00817.76
8.1.210.0090.00018.77
8.1.200.0000.00917.35
8.1.190.0000.00817.35
8.1.180.0000.00818.10
8.1.170.0070.00518.38
8.1.160.0000.00722.08
8.1.150.0040.00418.85
8.1.140.0070.00017.37
8.1.130.0000.01020.05
8.1.120.0040.00417.45
8.1.110.0070.00017.48
8.1.100.0040.00417.32
8.1.90.0000.00817.48
8.1.80.0050.00317.34
8.1.70.0030.00317.41
8.1.60.0080.00417.60
8.1.50.0060.00317.43
8.1.40.0080.00017.52
8.1.30.0040.00417.49
8.1.20.0020.00517.50
8.1.10.0050.00217.54
8.1.00.0040.00417.40
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0000.00718.55
8.0.270.0030.00317.17
8.0.260.0000.00720.03
8.0.250.0000.00716.91
8.0.240.0030.00317.04
8.0.230.0070.00017.01
8.0.220.0040.00416.92
8.0.210.0030.00317.00
8.0.200.0030.00317.00
8.0.190.0000.00717.03
8.0.180.0040.00416.96
8.0.170.0080.00017.02
8.0.160.0030.00316.95
8.0.150.0000.00716.82
8.0.140.0000.00716.86
8.0.130.0030.00313.42
8.0.120.0000.00816.79
8.0.110.0080.00016.86
8.0.100.0040.00416.82
8.0.90.0000.00717.07
8.0.80.0090.00616.90
8.0.70.0040.00417.02
8.0.60.0070.00016.99
8.0.50.0000.00716.97
8.0.30.0100.01017.10
8.0.20.0120.00617.40
8.0.10.0040.00417.07
8.0.00.0070.01116.66
7.4.330.0070.00015.00
7.4.320.0020.00516.55
7.4.300.0030.00316.51
7.4.290.0030.00316.43
7.4.280.0050.00316.53
7.4.270.0000.00616.50
7.4.260.0040.00416.50
7.4.250.0000.00716.48
7.4.240.0040.00416.55
7.4.230.0030.00316.34
7.4.220.0090.00916.37
7.4.210.0160.00316.63
7.4.200.0070.00016.51
7.4.160.0070.00716.42
7.4.150.0160.00417.40
7.4.140.0110.00517.86
7.4.130.0060.01116.62
7.4.120.0100.00616.50
7.4.110.0030.01416.54
7.4.100.0110.00716.45
7.4.90.0130.01016.70
7.4.80.0150.00919.39
7.4.70.0090.00916.63
7.4.60.0030.01316.38
7.4.50.0040.00416.51
7.4.40.0100.01316.57
7.4.30.0090.00616.33
7.4.00.0030.01315.27
7.3.330.0000.00513.24
7.3.320.0050.00013.26
7.3.310.0030.00316.16
7.3.300.0080.00016.32
7.3.290.0090.00916.29
7.3.280.0070.00816.32
7.3.270.0130.01017.40
7.3.260.0060.01216.68
7.3.250.0100.00716.28
7.3.240.0100.00816.52
7.3.230.0140.00316.53
7.3.210.0100.01316.49
7.3.200.0100.01319.39
7.3.190.0180.00316.30
7.3.180.0030.01316.35
7.3.170.0000.02016.47
7.3.160.0070.01016.29
7.3.120.0090.00614.66
7.3.110.0160.00314.71
7.3.100.0060.00914.85
7.3.90.0060.00914.98
7.3.80.0080.00814.90
7.3.70.0000.01014.79
7.3.60.0120.00314.93
7.3.50.0040.01114.96
7.3.40.0110.00314.68
7.3.30.0030.00914.71
7.3.20.0110.00316.78
7.3.10.0070.01016.38
7.3.00.0070.00716.84
7.2.330.0100.00716.53
7.2.320.0070.01116.44
7.2.310.0060.01216.67
7.2.300.0100.00716.58
7.2.290.0060.01016.52
7.2.240.0100.00615.10
7.2.230.0070.01014.89
7.2.220.0070.01115.10
7.2.210.0000.01214.88
7.2.200.0060.00615.07
7.2.190.0120.00315.05
7.2.180.0030.01015.07
7.2.170.0000.01314.98
7.2.160.0060.01214.73
7.2.150.0100.00716.86
7.2.140.0090.00016.95
7.2.130.0090.00616.88
7.2.120.0070.00716.84
7.2.110.0130.00316.92
7.2.100.0090.00616.98
7.2.90.0040.01116.86
7.2.80.0060.00916.99
7.2.70.0070.00716.99
7.2.60.0050.01016.89
7.2.50.0030.01016.70
7.2.40.0040.01216.77
7.2.30.0110.00716.88
7.2.20.0080.00417.06
7.2.10.0030.01316.57
7.2.00.0100.00518.20
7.1.330.0040.01415.89
7.1.320.0130.00315.89
7.1.310.0060.00916.02
7.1.300.0060.00615.77
7.1.290.0080.00815.57
7.1.280.0060.00915.71
7.1.270.0070.00715.79
7.1.260.0090.00615.80
7.1.250.0070.00715.73
7.1.200.0070.00715.50
7.1.100.0100.00318.27
7.1.70.0030.01316.70
7.1.60.0080.01119.61
7.1.50.0030.01416.98
7.1.00.0070.07322.33
7.0.200.0040.00416.92
7.0.140.0030.07322.08
7.0.60.0070.04019.95
7.0.50.0030.07017.80
7.0.40.0070.05720.08
7.0.30.0530.05020.00
7.0.20.0270.07020.16
7.0.10.0300.08320.13
7.0.00.0100.05020.18
5.6.280.0130.06321.09
5.6.210.0030.04020.54
5.6.200.0070.05718.23
5.6.190.0070.06720.49
5.6.180.0300.05020.39
5.6.170.0230.07320.51
5.6.160.0130.07720.52
5.6.150.0100.03718.08
5.6.140.0070.07318.09
5.6.130.0100.08318.12
5.6.120.0130.07720.99
5.6.110.0100.08021.01
5.6.100.0130.08021.12
5.6.90.0030.04321.03
5.6.80.0070.08020.59
5.6.70.4130.03320.49
5.5.350.0100.07320.36
5.5.340.0070.08717.95
5.5.330.0030.07020.36
5.5.320.0470.06020.17
5.5.310.0270.07020.33
5.5.300.0070.04717.92
5.5.290.0000.05717.98
5.5.280.0130.08020.65
5.5.270.0030.08720.96
5.5.260.0170.07320.67
5.5.250.0070.04320.49
5.5.240.0470.06320.13
5.4.450.1930.05319.25
5.4.440.0300.05319.48
5.4.430.0270.06319.09
5.4.420.0130.05319.53
5.4.410.0200.05319.32
5.4.400.0170.04319.05
5.4.390.0230.03319.13
5.4.380.0230.04719.09
5.4.370.0270.05019.08
5.4.360.0130.04319.15
5.4.350.0270.04719.25
5.4.340.0230.04719.13
5.4.320.0270.05319.06
5.4.310.0230.04719.23
5.4.300.0270.07319.09
5.4.290.0230.05318.91
5.4.280.0230.06319.12
5.4.270.0200.04718.91
5.4.260.0170.04018.92
5.4.250.0270.05319.05
5.4.240.0200.04718.87
5.4.230.0170.04019.23
5.4.220.0230.06719.12
5.4.210.0230.03319.05
5.4.200.0270.02719.03
5.4.190.0200.03719.24
5.4.180.0270.05319.09
5.4.170.0200.03718.81
5.4.160.0200.05019.11
5.4.150.0070.03718.89
5.4.140.0200.04716.27
5.4.130.0200.03316.23
5.4.120.0200.03316.32
5.4.110.0170.03716.39
5.4.100.0230.07016.41
5.4.90.0200.07016.38
5.4.80.0270.02716.38
5.4.70.0230.04316.37
5.4.60.0200.07016.36
5.4.50.0200.07316.39
5.4.40.0130.05016.30
5.4.30.0200.03716.32
5.4.20.0230.06016.42
5.4.10.0200.04716.44
5.4.00.0200.03315.82
5.3.290.0130.04014.75
5.3.280.0200.04714.54
5.3.270.0170.04014.43
5.3.260.0200.03714.46
5.3.250.0200.07314.70
5.3.240.0230.04714.45
5.3.230.0200.05714.54
5.3.220.0330.03314.52
5.3.210.0230.03014.40
5.3.200.0230.07014.41
5.3.190.0200.04714.47
5.3.180.0100.03714.57
5.3.170.0000.05014.54
5.3.160.0200.05714.58
5.3.150.0230.06314.42
5.3.140.0270.07314.49
5.3.130.0200.04014.50
5.3.120.0270.04314.40
5.3.110.0130.04014.49
5.3.100.0270.02713.87
5.3.90.0170.03314.03
5.3.80.0200.03013.79
5.3.70.0100.04313.79
5.3.60.0170.03713.83
5.3.50.0200.03313.74
5.3.40.0300.03713.85
5.3.30.0170.03313.85
5.3.20.0200.03313.73
5.3.10.0170.03313.60
5.3.00.0230.03013.65
5.2.170.0170.02710.98
5.2.160.0200.05311.16
5.2.150.0170.03311.30
5.2.140.0100.03311.00
5.2.130.0170.03710.96
5.2.120.0200.04011.12
5.2.110.0200.04310.95
5.2.100.0200.03711.26
5.2.90.0230.05711.01
5.2.80.0230.03311.11
5.2.70.0170.06011.25
5.2.60.0130.03010.90
5.2.50.0130.04311.02
5.2.40.0130.02710.84
5.2.30.0130.03710.83
5.2.20.0070.05710.84
5.2.10.0030.03310.76
5.2.00.0000.06310.57
5.1.60.0130.02010.00
5.1.50.1170.0179.91
5.1.40.1130.0309.95
5.1.30.0000.03010.30
5.1.20.0000.03010.36
5.1.10.0030.03010.04
5.1.00.0030.04310.11
5.0.50.0070.0178.41
5.0.40.0070.0208.34
5.0.30.0670.0338.30
5.0.20.0570.0208.09
5.0.10.0670.0178.14
5.0.00.0600.0308.07
4.4.90.0630.0138.07
4.4.80.0700.0238.07
4.4.70.0700.0178.07
4.4.60.0600.0138.07
4.4.50.0600.0138.07
4.4.40.0630.0278.07
4.4.30.0770.0178.07
4.4.20.0630.0178.07
4.4.10.0600.0178.07
4.4.00.0600.0278.07
4.3.110.0800.0278.07
4.3.100.0030.0138.07
4.3.90.0030.0238.07
4.3.80.0030.0208.07
4.3.70.0000.0478.07
4.3.60.0030.0308.07
4.3.50.0030.0308.07
4.3.40.0000.0538.07
4.3.30.0030.0308.07
4.3.20.0000.0208.07
4.3.10.0370.0208.07
4.3.00.0300.0178.07

preferences:
41.55 ms | 400 KiB | 5 Q