3v4l.org

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

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.0070.00716.63
8.3.50.0110.00522.04
8.3.40.0140.00018.97
8.3.30.0060.01119.17
8.3.20.0040.00420.32
8.3.10.0070.00318.77
8.3.00.0030.00619.38
8.2.180.0120.00317.00
8.2.170.0070.00722.96
8.2.160.0070.00720.69
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00021.10
8.2.110.0000.01021.15
8.2.100.0060.00617.97
8.2.90.0000.00819.47
8.2.80.0040.00417.97
8.2.70.0040.00417.75
8.2.60.0050.00518.18
8.2.50.0030.00718.07
8.2.40.0000.00818.16
8.2.30.0000.00719.54
8.2.20.0000.00717.74
8.2.10.0050.00218.11
8.2.00.0000.00817.93
8.1.280.0070.00725.92
8.1.270.0040.00424.08
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0080.00022.83
8.1.230.0060.00621.08
8.1.220.0040.00417.78
8.1.210.0040.00418.77
8.1.200.0060.00317.60
8.1.190.0040.00417.48
8.1.180.0090.00018.10
8.1.170.0050.00318.76
8.1.160.0000.00822.16
8.1.150.0000.00718.91
8.1.140.0000.00817.63
8.1.130.0040.00417.96
8.1.120.0000.00717.54
8.1.110.0000.00817.63
8.1.100.0000.00717.52
8.1.90.0050.00217.68
8.1.80.0070.00017.62
8.1.70.0000.00717.63
8.1.60.0120.00017.66
8.1.50.0080.00017.61
8.1.40.0000.00717.70
8.1.30.0040.00417.77
8.1.20.0000.00717.73
8.1.10.0050.00317.59
8.1.00.0000.00717.69
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0040.00418.55
8.0.270.0000.00717.43
8.0.260.0000.00717.32
8.0.250.0070.00017.10
8.0.240.0030.00317.06
8.0.230.0070.00017.17
8.0.220.0070.00017.09
8.0.210.0070.00016.92
8.0.200.0030.00317.14
8.0.190.0030.00617.02
8.0.180.0070.00017.17
8.0.170.0000.00716.95
8.0.160.0040.00416.94
8.0.150.0000.00717.02
8.0.140.0000.00716.89
8.0.130.0050.00013.45
8.0.120.0030.00516.91
8.0.110.0040.00417.07
8.0.100.0070.00016.89
8.0.90.0050.00217.04
8.0.80.0030.01616.98
8.0.70.0000.00717.11
8.0.60.0030.00516.94
8.0.50.0030.00617.03
8.0.30.0120.00617.33
8.0.20.0110.00817.40
8.0.10.0040.00417.00
8.0.00.0100.00716.78
7.4.330.0080.00015.00
7.4.320.0000.00616.71
7.4.300.0060.00016.77
7.4.290.0040.00416.75
7.4.280.0050.00316.73
7.4.270.0040.00416.59
7.4.260.0000.00716.66
7.4.250.0050.00316.73
7.4.240.0030.00316.66
7.4.230.0030.00316.59
7.4.220.0100.01016.51
7.4.210.0070.00716.71
7.4.200.0030.00316.78
7.4.160.0120.00916.41
7.4.150.0030.01517.40
7.4.140.0110.01017.86
7.4.130.0140.00316.48
7.4.120.0050.01216.51
7.4.110.0160.00016.45
7.4.100.0070.01016.49
7.4.90.0140.00716.65
7.4.80.0100.01319.39
7.4.70.0130.00316.56
7.4.60.0110.00716.58
7.4.50.0040.00416.32
7.4.40.0120.00416.34
7.4.30.0040.01216.71
7.4.00.0090.00415.05
7.3.330.0050.00013.27
7.3.320.0050.00013.37
7.3.310.0000.00716.27
7.3.300.0060.00316.52
7.3.290.0120.00716.28
7.3.280.0070.00816.31
7.3.270.0100.00917.40
7.3.260.0090.00816.29
7.3.250.0070.01016.43
7.3.240.0080.00816.54
7.3.230.0070.01016.55
7.3.210.0090.00916.54
7.3.200.0160.00919.39
7.3.190.0060.01216.46
7.3.180.0110.00416.42
7.3.170.0030.01416.53
7.3.160.0100.00616.57
7.2.330.0120.00616.71
7.2.320.0030.02316.58
7.2.310.0120.01116.37
7.2.300.0120.00616.70
7.2.290.0100.00716.72
7.2.80.0030.00517.02
7.2.60.0030.01116.96
7.1.200.0080.00415.84
7.1.100.0060.00318.38
7.1.70.0000.01117.48
7.1.60.0090.01519.61
7.1.50.0120.00617.20
7.1.00.0070.07322.73
7.0.200.0050.00317.19
7.0.140.0030.07322.43
7.0.60.0070.07320.31
7.0.50.0070.03718.21
7.0.40.0100.06020.37
7.0.30.0170.04720.35
7.0.20.0270.07020.52
7.0.10.0100.08320.32
7.0.00.0130.08020.31
5.6.280.0000.07721.34
5.6.210.0070.04720.98
5.6.200.0100.04718.38
5.6.190.0130.07720.78
5.6.180.0270.05020.79
5.6.170.0270.08020.73
5.6.160.0130.05320.66
5.6.150.0100.07718.38
5.6.140.0070.04018.41
5.6.130.0100.04718.32
5.6.120.0100.04321.40
5.6.110.0000.06721.30
5.6.100.0100.06321.37
5.6.90.0170.07721.32
5.6.80.0030.07320.80
5.5.350.0270.07320.68
5.5.340.0130.07318.16
5.5.330.0100.04020.54
5.5.320.0100.04020.63
5.5.310.0270.05020.41
5.5.300.0100.07718.29
5.5.290.0070.06718.16
5.5.280.0030.04321.13
5.5.270.0000.04321.16
5.5.260.0130.07321.12
5.5.250.0100.08020.95
5.5.240.0070.07720.53
5.4.450.0230.06019.60
5.4.440.0900.05319.44
5.4.430.0470.06319.61
5.4.420.0500.06019.20
5.4.410.0830.05019.20
5.4.400.0600.06319.07
5.4.390.0700.06018.97
5.4.380.0330.05018.88
5.4.370.0370.05718.86
5.4.360.0230.07018.63
5.4.350.0330.07018.70
5.4.340.0370.05018.63
5.4.320.0060.05312.49
5.4.310.0060.04612.49
5.4.300.0090.04712.50
5.4.290.0060.04512.49
5.4.280.0060.03712.39
5.4.270.0060.03812.39
5.4.260.0060.04612.39
5.4.250.0060.04112.39
5.4.240.0060.03612.39
5.4.230.0070.04512.38
5.4.220.0110.03212.38
5.4.210.0070.03612.38
5.4.200.0080.03612.38
5.4.190.0080.03412.38
5.4.180.0070.03712.38
5.4.170.0050.03712.39
5.4.160.0060.04312.39
5.4.150.0060.03612.38
5.4.140.0060.03812.07
5.4.130.0040.03812.05
5.4.120.0080.03312.01
5.4.110.0080.03412.00
5.4.100.0060.03712.00
5.4.90.0040.04112.00
5.4.80.0080.03412.00
5.4.70.0060.03512.00
5.4.60.0080.03312.00
5.4.50.0050.03712.00
5.4.40.0030.03811.99
5.4.30.0070.03511.99
5.4.20.0070.03511.99
5.4.10.0100.03111.99
5.4.00.0050.04111.48
5.3.290.0110.04212.80
5.3.280.0060.03812.71
5.3.270.0080.03912.73
5.3.260.0110.04412.72
5.3.250.0060.04612.72
5.3.240.0070.03712.72
5.3.230.0080.03712.71
5.3.220.0050.03812.68
5.3.210.0050.03912.68
5.3.200.0040.04312.68
5.3.190.0070.03712.68
5.3.180.0070.03612.68
5.3.170.0080.03412.67
5.3.160.0060.03612.68
5.3.150.0070.03612.67
5.3.140.0050.03912.66
5.3.130.0070.03912.66
5.3.120.0050.04012.66
5.3.110.0060.03912.66
5.3.100.0080.03512.12
5.3.90.0060.03712.11
5.3.80.0060.03712.10
5.3.70.0070.04012.09
5.3.60.0050.03812.09
5.3.50.0050.03712.03
5.3.40.0050.03612.03
5.3.30.0080.03711.98
5.3.20.0050.03711.77
5.3.10.0090.03211.73
5.3.00.0080.03511.72
5.2.170.0050.0419.22
5.2.160.0030.0329.22
5.2.150.0040.0319.22
5.2.140.0040.0329.21
5.2.130.0080.0299.18
5.2.120.0050.0299.18
5.2.110.0050.0299.18
5.2.100.0070.0289.18
5.2.90.0050.0289.18
5.2.80.0060.0299.18
5.2.70.0050.0309.18
5.2.60.0070.0289.13
5.2.50.0050.0329.10
5.2.40.0090.0259.08
5.2.30.0070.0279.05
5.2.20.0030.0309.04
5.2.10.0070.0269.00
5.2.00.0060.0298.85
5.1.60.0050.0248.14
5.1.50.0060.0248.13
5.1.40.0040.0278.11
5.1.30.0040.0348.46
5.1.20.0040.0308.48
5.1.10.0060.0248.21
5.1.00.0020.0278.21
5.0.50.0060.0186.69
5.0.40.0040.0196.55
5.0.30.0050.0306.36
5.0.20.0050.0186.33
5.0.10.0030.0206.31
5.0.00.0020.0326.30
4.4.90.0020.0164.78
4.4.80.0020.0174.76
4.4.70.0060.0134.76
4.4.60.0020.0174.75
4.4.50.0040.0144.77
4.4.40.0040.0244.71
4.4.30.0030.0154.76
4.4.20.0040.0154.84
4.4.10.0050.0174.85
4.4.00.0030.0264.76
4.3.110.0050.0194.67
4.3.100.0060.0174.66
4.3.90.0050.0124.64
4.3.80.0010.0264.59
4.3.70.0040.0144.63
4.3.60.0040.0264.63
4.3.50.0030.0154.63
4.3.40.0040.0224.55
4.3.30.0010.0173.36
4.3.20.0020.0163.34
4.3.10.0010.0173.30
4.3.00.0030.0277.89

preferences:
60.54 ms | 401 KiB | 5 Q