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, log($c)*4); }

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.0000.01516.88
8.3.50.0100.01022.04
8.3.40.0070.00718.71
8.3.30.0140.00019.17
8.3.20.0000.00820.35
8.3.10.0050.00518.86
8.3.00.0060.00319.38
8.2.180.0100.00716.63
8.2.170.0150.00022.96
8.2.160.0130.00720.57
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0140.00021.29
8.2.110.0030.00720.64
8.2.100.0110.00018.34
8.2.90.0000.00819.34
8.2.80.0000.00817.97
8.2.70.0000.00817.75
8.2.60.0100.00317.91
8.2.50.0030.00618.07
8.2.40.0080.00018.47
8.2.30.0000.00719.65
8.2.20.0040.00417.78
8.2.10.0000.00720.03
8.2.00.0060.00317.86
8.1.280.0120.00425.92
8.1.270.0050.00324.06
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0080.00024.00
8.1.230.0090.00319.34
8.1.220.0040.00417.90
8.1.210.0000.00918.77
8.1.200.0040.00417.59
8.1.190.0040.00417.38
8.1.180.0050.00318.10
8.1.170.0030.00518.96
8.1.160.0000.00722.21
8.1.150.0070.00019.11
8.1.140.0030.00517.68
8.1.130.0030.00318.07
8.1.120.0000.00817.59
8.1.110.0000.00817.60
8.1.100.0050.00217.66
8.1.90.0030.00317.54
8.1.80.0040.00417.51
8.1.70.0030.00317.62
8.1.60.0000.01117.81
8.1.50.0040.00417.71
8.1.40.0040.00417.51
8.1.30.0030.00617.73
8.1.20.0030.00617.68
8.1.10.0000.00817.72
8.1.00.0040.00417.51
8.0.300.0080.00018.77
8.0.290.0030.00616.88
8.0.280.0000.00718.67
8.0.270.0030.00317.47
8.0.260.0000.00617.44
8.0.250.0030.00317.12
8.0.240.0000.00716.97
8.0.230.0030.00317.07
8.0.220.0030.00316.99
8.0.210.0000.00717.02
8.0.200.0000.00717.17
8.0.190.0070.00017.09
8.0.180.0070.00017.13
8.0.170.0000.00717.09
8.0.160.0000.00717.17
8.0.150.0050.00316.96
8.0.140.0030.00317.03
8.0.130.0000.00613.51
8.0.120.0040.00416.94
8.0.110.0040.00416.93
8.0.100.0020.00517.03
8.0.90.0040.00417.11
8.0.80.0030.01216.88
8.0.70.0000.00717.18
8.0.60.0050.00317.13
8.0.50.0040.00416.93
8.0.30.0110.01117.01
8.0.20.0130.00517.40
8.0.10.0040.00417.18
8.0.00.0100.00916.64
7.4.330.0030.00315.00
7.4.320.0030.00316.63
7.4.300.0060.00016.65
7.4.290.0070.00016.74
7.4.280.0070.00016.62
7.4.270.0000.00616.71
7.4.260.0040.00416.69
7.4.250.0040.00416.71
7.4.240.0020.00516.74
7.4.230.0030.00316.60
7.4.220.0150.01216.56
7.4.210.0110.00316.65
7.4.200.0030.00316.48
7.4.160.0070.01016.50
7.4.150.0170.00717.40
7.4.140.0110.00717.86
7.4.130.0070.01116.48
7.4.120.0090.00816.49
7.4.110.0030.01316.53
7.4.100.0110.00716.45
7.4.90.0140.00316.62
7.4.80.0090.00919.39
7.4.70.0060.01116.52
7.4.60.0160.00016.50
7.4.50.0080.00016.65
7.4.40.0090.00616.50
7.4.30.0120.00316.45
7.4.00.0040.01015.36
7.3.330.0020.00213.32
7.3.320.0030.00313.32
7.3.310.0030.00316.48
7.3.300.0040.00416.43
7.3.290.0130.00616.34
7.3.280.0100.00616.35
7.3.270.0100.01017.40
7.3.260.0150.00916.74
7.3.250.0120.00516.60
7.3.240.0080.00816.66
7.3.230.0110.00716.45
7.3.210.0060.01216.44
7.3.200.0120.00619.39
7.3.190.0070.01416.31
7.3.180.0130.00316.53
7.3.170.0050.01116.42
7.3.160.0060.00916.36
7.3.120.0150.00415.38
7.3.110.0060.01314.96
7.3.100.0030.01015.02
7.3.90.0120.00315.21
7.3.80.0040.00814.98
7.3.70.0030.00715.17
7.3.60.0120.00315.11
7.3.50.0060.00915.09
7.3.40.0030.00615.32
7.3.30.0000.01614.97
7.3.20.0100.00617.14
7.3.10.0100.00816.68
7.3.00.0120.00516.69
7.2.330.0090.00916.55
7.2.320.0090.00916.57
7.2.310.0190.00716.77
7.2.300.0080.00916.79
7.2.290.0090.00616.75
7.2.250.0110.00715.32
7.2.240.0070.01415.45
7.2.230.0090.00615.44
7.2.220.0030.00915.37
7.2.210.0000.01515.20
7.2.200.0070.01015.62
7.2.190.0000.01515.34
7.2.180.0060.00615.34
7.2.170.0060.00314.96
7.2.130.0160.00816.54
7.2.120.0100.01016.56
7.2.110.0200.01216.27
7.2.100.0180.00616.82
7.2.90.0100.01016.70
7.2.80.0150.00316.81
7.2.70.0100.00316.66
7.2.60.0200.00816.86
7.2.50.0120.01617.02
7.2.40.0120.01316.79
7.2.30.0150.01516.69
7.2.20.0090.00916.66
7.2.10.0110.01516.75
7.2.00.0050.01118.32
7.1.330.0100.00716.08
7.1.320.0000.01015.89
7.1.310.0070.00716.10
7.1.300.0040.01115.82
7.1.290.0030.00715.93
7.1.280.0060.00616.05
7.1.270.0070.00715.75
7.1.260.0060.00616.38
7.1.250.0090.00615.73
7.1.100.0030.00918.26
7.1.70.0000.00817.44
7.1.60.0040.01219.61
7.1.50.0090.00917.00
7.1.00.0070.07022.61
7.0.200.0140.00017.11
7.0.140.0030.07022.28
7.0.60.0070.07020.25
7.0.50.0030.04018.18
7.0.40.0030.04320.42
7.0.30.0200.08020.39
7.0.20.0300.07720.55
7.0.10.0070.05720.20
7.0.00.0170.04020.25
5.6.280.0070.06721.16
5.6.210.0030.08320.74
5.6.200.0000.08718.36
5.6.190.0100.07720.73
5.6.180.0270.05720.58
5.6.170.0230.06720.59
5.6.160.0100.06320.83
5.6.150.0030.05018.45
5.6.140.0070.08318.46
5.6.130.0070.04018.46
5.6.120.0030.05021.43
5.6.110.0130.05721.25
5.6.100.0070.07021.39
5.6.90.0100.05021.36
5.6.80.0100.06320.55
5.5.350.0230.08320.74
5.5.340.0030.06718.29
5.5.330.0200.07020.56
5.5.320.0070.07320.42
5.5.310.0300.04020.52
5.5.300.0070.07318.16
5.5.290.0100.08018.26
5.5.280.0100.08021.13
5.5.270.0000.04321.16
5.5.260.0130.07721.17
5.5.250.0070.07020.91
5.5.240.0070.07720.53
5.4.450.0300.07019.70
5.4.440.0700.05719.45
5.4.430.0770.04719.51
5.4.420.0530.06019.44
5.4.410.0630.06319.48
5.4.400.0830.06318.87
5.4.390.1030.05718.89
5.4.380.0270.05318.70
5.4.370.0900.06318.84
5.4.360.0230.05318.82
5.4.350.0200.06018.82
5.4.340.0200.05018.80
5.4.320.0060.03712.50
5.4.310.0070.04612.49
5.4.300.0060.03812.50
5.4.290.0080.03712.49
5.4.280.0090.03212.39
5.4.270.0070.03712.39
5.4.260.0040.03912.39
5.4.250.0070.03712.39
5.4.240.0080.03712.39
5.4.230.0080.03712.38
5.4.220.0050.03612.38
5.4.210.0050.03612.38
5.4.200.0040.03912.38
5.4.190.0110.04612.38
5.4.180.0070.03412.38
5.4.170.0050.03812.39
5.4.160.0030.03912.39
5.4.150.0050.03712.38
5.4.140.0070.03612.06
5.4.130.0040.03812.05
5.4.120.0060.03712.01
5.4.110.0090.03312.01
5.4.100.0050.03512.01
5.4.90.0060.03712.00
5.4.80.0040.03812.01
5.4.70.0040.03712.00
5.4.60.0060.03512.00
5.4.50.0050.03712.00
5.4.40.0060.03611.99
5.4.30.0060.03711.99
5.4.20.0110.03111.99
5.4.10.0080.03311.99
5.4.00.0050.03611.48
5.3.290.0040.04112.80
5.3.280.0060.03712.71
5.3.270.0060.03912.72
5.3.260.0060.03812.72
5.3.250.0060.03712.72
5.3.240.0080.04112.72
5.3.230.0080.03712.71
5.3.220.0030.04012.68
5.3.210.0070.03812.68
5.3.200.0080.03612.68
5.3.190.0100.03512.68
5.3.180.0070.03612.67
5.3.170.0110.04212.66
5.3.160.0050.03712.68
5.3.150.0050.04012.68
5.3.140.0060.03612.66
5.3.130.0080.03812.66
5.3.120.0090.04012.66
5.3.110.0090.03812.66
5.3.100.0070.03812.12
5.3.90.0100.03412.10
5.3.80.0080.04212.10
5.3.70.0060.03712.10
5.3.60.0050.04312.08
5.3.50.0110.03712.03
5.3.40.0050.04112.02
5.3.30.0050.03611.98
5.3.20.0060.04411.77
5.3.10.0110.03511.73
5.3.00.0070.03611.72
5.2.170.0050.0329.22
5.2.160.0080.0409.22
5.2.150.0060.0329.22
5.2.140.0070.0289.21
5.2.130.0070.0279.18
5.2.120.0060.0299.18
5.2.110.0050.0329.18
5.2.100.0040.0309.18
5.2.90.0050.0289.18
5.2.80.0040.0319.18
5.2.70.0060.0299.18
5.2.60.0030.0329.13
5.2.50.0070.0319.10
5.2.40.0050.0339.07
5.2.30.0060.0389.05
5.2.20.0050.0399.05
5.2.10.0040.0399.00
5.2.00.0050.0398.85
5.1.60.0060.0268.13
5.1.50.0050.0258.13
5.1.40.0060.0258.11
5.1.30.0090.0278.46
5.1.20.0060.0298.48
5.1.10.0030.0318.21
5.1.00.0020.0308.21
5.0.50.0070.0216.69
5.0.40.0050.0246.55
5.0.30.0040.0386.36
5.0.20.0050.0276.33
5.0.10.0060.0236.31
5.0.00.0020.0326.30
4.4.90.0030.0154.78
4.4.80.0050.0134.76
4.4.70.0030.0164.75
4.4.60.0050.0154.76
4.4.50.0030.0154.77
4.4.40.0020.0264.70
4.4.30.0050.0144.76
4.4.20.0030.0164.84
4.4.10.0040.0154.85
4.4.00.0020.0264.76
4.3.110.0060.0134.67
4.3.100.0030.0154.66
4.3.90.0020.0164.63
4.3.80.0040.0254.59
4.3.70.0030.0154.63
4.3.60.0070.0294.63
4.3.50.0010.0244.63
4.3.40.0040.0294.55
4.3.30.0050.0223.35
4.3.20.0020.0213.33
4.3.10.0040.0153.30
4.3.00.0070.0207.89

preferences:
40.32 ms | 401 KiB | 5 Q