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, max($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.60.0030.01716.50
8.3.50.0130.00622.04
8.3.40.0040.01118.75
8.3.30.0070.01019.00
8.3.20.0050.00220.16
8.3.10.0110.00018.60
8.3.00.0000.00819.13
8.2.180.0090.00916.50
8.2.170.0040.01122.96
8.2.160.0000.01520.52
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00726.16
8.2.120.0000.00920.96
8.2.110.0060.00320.52
8.2.100.0110.00017.78
8.2.90.0070.00317.88
8.2.80.0000.00818.59
8.2.70.0050.00317.50
8.2.60.0000.00817.50
8.2.50.0040.00417.63
8.2.40.0090.00018.34
8.2.30.0000.00819.44
8.2.20.0040.00417.69
8.2.10.0040.00418.06
8.2.00.0040.00417.69
8.1.280.0070.01425.92
8.1.270.0050.00323.88
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0060.00322.08
8.1.230.0090.00320.90
8.1.220.0050.00518.57
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0040.00417.23
8.1.180.0050.00518.10
8.1.170.0070.00418.25
8.1.160.0070.00021.96
8.1.150.0070.00018.81
8.1.140.0030.00517.53
8.1.130.0030.00317.79
8.1.120.0000.00717.42
8.1.110.0080.00017.36
8.1.100.0030.00317.39
8.1.90.0040.00417.37
8.1.80.0040.00417.35
8.1.70.0000.00717.34
8.1.60.0000.01117.64
8.1.50.0050.00317.43
8.1.40.0070.00017.47
8.1.30.0050.00317.58
8.1.20.0040.00417.71
8.1.10.0040.00417.40
8.1.00.0000.00817.46
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0040.00418.36
8.0.270.0030.00317.27
8.0.260.0030.00317.21
8.0.250.0000.00716.91
8.0.240.0030.00317.02
8.0.230.0000.00816.86
8.0.220.0030.00316.88
8.0.210.0030.00316.94
8.0.200.0000.00616.92
8.0.190.0050.00216.88
8.0.180.0000.00916.84
8.0.170.0080.00016.90
8.0.160.0080.00016.97
8.0.150.0030.00316.80
8.0.140.0040.00416.82
8.0.130.0000.00513.29
8.0.120.0030.00616.74
8.0.110.0070.00016.89
8.0.100.0000.00716.79
8.0.90.0000.00716.95
8.0.80.0090.01116.88
8.0.70.0030.00516.88
8.0.60.0000.00716.75
8.0.50.0000.00716.88
8.0.30.0120.00617.07
8.0.20.0130.00917.40
8.0.10.0040.00417.07
8.0.00.0090.00916.59
7.4.330.0060.00015.08
7.4.320.0000.00616.53
7.4.300.0030.00316.41
7.4.290.0040.00416.58
7.4.280.0000.00816.59
7.4.270.0000.00716.53
7.4.260.0050.00216.43
7.4.250.0070.00016.49
7.4.240.0060.00116.48
7.4.230.0030.00316.32
7.4.220.0100.00916.43
7.4.210.0140.00316.54
7.4.200.0000.00816.55
7.4.160.0060.00916.34
7.4.150.0060.02117.40
7.4.140.0100.00617.86
7.4.130.0130.00416.56
7.4.120.0110.00516.49
7.4.110.0030.01316.55
7.4.100.0120.00616.46
7.4.90.0100.01316.44
7.4.80.0120.00719.39
7.4.70.0110.00416.48
7.4.60.0080.00816.46
7.4.50.0000.00816.40
7.4.40.0090.01316.45
7.4.30.0140.00316.57
7.4.00.0070.00714.95
7.3.330.0050.00012.98
7.3.320.0030.00313.16
7.3.310.0030.00316.24
7.3.300.0000.00716.31
7.3.290.0090.00916.18
7.3.280.0070.00816.27
7.3.270.0060.01217.40
7.3.260.0130.01016.59
7.3.250.0100.00716.52
7.3.240.0130.00316.63
7.3.230.0170.00016.60
7.3.210.0130.00316.37
7.3.200.0120.00619.39
7.3.190.0070.01016.37
7.3.180.0110.00616.50
7.3.170.0060.00916.37
7.3.160.0100.01116.30
7.2.330.0090.00916.53
7.2.320.0130.00716.72
7.2.310.0060.01216.36
7.2.300.0110.00516.39
7.2.290.0110.00616.54
7.2.60.0130.00316.82
7.2.00.0090.00319.02
7.1.200.0000.01215.42
7.1.100.0000.00918.08
7.1.70.0040.01217.11
7.1.60.0070.00719.61
7.1.50.0070.01116.71
7.1.00.0030.07722.37
7.0.200.0030.00716.79
7.0.140.0030.07321.92
7.0.60.0070.05319.95
7.0.50.0100.07717.78
7.0.40.0070.08720.07
7.0.30.0530.07020.09
7.0.20.0230.04320.21
7.0.10.0030.04320.09
7.0.00.0130.07020.08
5.6.280.0070.07021.06
5.6.210.0100.07720.59
5.6.200.0000.09018.12
5.6.190.0030.08020.61
5.6.180.0430.06020.61
5.6.170.0270.08020.46
5.6.160.0100.04020.54
5.6.150.0100.07718.18
5.6.140.0030.04018.09
5.6.130.0200.07318.06
5.6.120.0000.06020.85
5.6.110.0130.07720.99
5.6.100.0070.07020.97
5.6.90.0070.07321.09
5.6.80.0100.08020.28
5.5.350.0230.03020.43
5.5.340.0030.04317.98
5.5.330.0100.04720.11
5.5.320.0270.08320.18
5.5.310.0400.06720.14
5.5.300.0030.08017.89
5.5.290.0030.04017.93
5.5.280.0070.04320.97
5.5.270.0200.04320.78
5.5.260.0130.06020.89
5.5.250.0200.07020.61
5.5.240.0130.07320.35
5.4.450.0170.03719.26
5.4.440.0800.04719.23
5.4.430.0230.05719.16
5.4.420.0130.06319.44
5.4.410.0200.07019.12
5.4.400.0600.05319.01
5.4.390.1230.05319.05
5.4.380.0270.05718.48
5.4.370.0230.05018.50
5.4.360.0370.04318.75
5.4.350.0200.07318.62
5.4.340.0300.05318.77
5.4.320.0080.04012.46
5.4.310.0050.04012.45
5.4.300.0070.03612.45
5.4.290.0090.03612.45
5.4.280.0050.03712.35
5.4.270.0060.03812.35
5.4.260.0070.03612.35
5.4.250.0100.03312.35
5.4.240.0070.03612.35
5.4.230.0070.03712.34
5.4.220.0070.03612.34
5.4.210.0090.03212.34
5.4.200.0060.03812.34
5.4.190.0060.03512.34
5.4.180.0040.03812.34
5.4.170.0070.03612.35
5.4.160.0070.03612.34
5.4.150.0060.03612.34
5.4.140.0070.03512.02
5.4.130.0060.03512.02
5.4.120.0070.03411.97
5.4.110.0060.03511.96
5.4.100.0090.03111.97
5.4.90.0090.04811.96
5.4.80.0040.03911.96
5.4.70.0080.03311.96
5.4.60.0070.03411.96
5.4.50.0090.04011.96
5.4.40.0050.03711.95
5.4.30.0080.03811.95
5.4.20.0080.03411.95
5.4.10.0050.03611.95
5.4.00.0030.03811.44
5.3.290.0070.03912.80
5.3.280.0050.03912.71
5.3.270.0040.04112.72
5.3.260.0110.03412.72
5.3.250.0100.03512.72
5.3.240.0070.03712.72
5.3.230.0050.03912.71
5.3.220.0060.03912.68
5.3.210.0090.03712.68
5.3.200.0080.04212.68
5.3.190.0090.03412.68
5.3.180.0090.03512.68
5.3.170.0090.03412.67
5.3.160.0030.03812.67
5.3.150.0070.03612.67
5.3.140.0090.03512.66
5.3.130.0120.03712.66
5.3.120.0080.03612.66
5.3.110.0030.04312.66
5.3.100.0070.03712.12
5.3.90.0080.03912.08
5.3.80.0110.04712.07
5.3.70.0090.03812.07
5.3.60.0060.03512.06
5.3.50.0060.03412.00
5.3.40.0030.03912.00
5.3.30.0080.03211.95
5.3.20.0060.03411.73
5.3.10.0090.03111.70
5.3.00.0030.03811.68
5.2.170.0050.0299.18
5.2.160.0050.0289.18
5.2.150.0060.0289.18
5.2.140.0050.0299.18
5.2.130.0030.0309.14
5.2.120.0040.0289.14
5.2.110.0040.0299.14
5.2.100.0040.0339.14
5.2.90.0030.0319.14
5.2.80.0060.0309.14
5.2.70.0060.0409.14
5.2.60.0070.0299.09
5.2.50.0040.0339.06
5.2.40.0070.0279.04
5.2.30.0050.0309.01
5.2.20.0060.0279.00
5.2.10.0070.0278.96
5.2.00.0060.0278.81
5.1.60.0030.0258.10
5.1.50.0050.0238.09
5.1.40.0040.0248.07
5.1.30.0040.0258.43
5.1.20.0080.0228.45
5.1.10.0080.0258.17
5.1.00.0040.0268.17
5.0.50.0050.0196.64
5.0.40.0020.0206.51
5.0.30.0010.0336.32
5.0.20.0040.0186.30
5.0.10.0010.0226.28
5.0.00.0020.0316.28
4.4.90.0040.0174.78
4.4.80.0030.0144.76
4.4.70.0000.0184.76
4.4.60.0020.0164.76
4.4.50.0020.0164.77
4.4.40.0020.0254.71
4.4.30.0020.0154.76
4.4.20.0020.0164.85
4.4.10.0040.0144.84
4.4.00.0040.0274.75
4.3.110.0030.0174.67
4.3.100.0030.0174.66
4.3.90.0020.0154.63
4.3.80.0030.0254.59
4.3.70.0030.0174.63
4.3.60.0030.0154.63
4.3.50.0040.0154.63
4.3.40.0030.0234.54
4.3.30.0020.0163.34
4.3.20.0020.0153.31
4.3.10.0030.0143.27
4.3.00.0030.02314.28

preferences:
65.78 ms | 401 KiB | 5 Q