3v4l.org

run code in 300+ PHP versions simultaneously
<?php // This fails attempting to allocate nearly 3GM of RAM ini_set('display_errors', 1); spl_autoload_register(function ($class) { // Doesn't matter what's here, so I've left it empty. }); die('Success!');

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.0150.00616.50
8.3.50.0120.01021.10
8.3.40.0140.00418.82
8.3.30.0080.01119.13
8.3.20.0080.00020.36
8.3.10.0070.00023.61
8.3.00.0080.00019.38
8.2.180.0070.01016.75
8.2.170.0100.01022.96
8.2.160.0030.01018.96
8.2.150.0180.00024.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0050.00222.27
8.2.110.0050.00520.58
8.2.100.0070.00417.84
8.2.90.0040.00419.07
8.2.80.0030.00617.97
8.2.70.0030.00517.63
8.2.60.0050.00317.80
8.2.50.0060.00318.07
8.2.40.0050.00319.88
8.2.30.0040.00419.90
8.2.20.0040.00417.78
8.2.10.0000.00718.05
8.2.00.0070.00317.62
8.1.280.0090.00625.92
8.1.270.0040.00423.70
8.1.260.0050.00326.35
8.1.250.0050.00228.09
8.1.240.0000.00923.92
8.1.230.0080.00417.51
8.1.220.0040.00417.74
8.1.210.0000.01118.77
8.1.200.0060.00317.13
8.1.190.0000.00817.52
8.1.180.0040.00818.10
8.1.170.0030.00520.43
8.1.160.0070.00022.11
8.1.150.0000.00718.48
8.1.140.0060.00317.35
8.1.130.0030.00317.69
8.1.120.0040.00417.32
8.1.110.0080.00017.31
8.1.100.0040.00417.39
8.1.90.0000.00817.36
8.1.80.0040.00417.44
8.1.70.0000.01017.39
8.1.60.0030.00617.51
8.1.50.0080.00017.46
8.1.40.0050.00217.39
8.1.30.0030.00517.55
8.1.20.0080.00017.43
8.1.10.0040.00417.35
8.1.00.0050.00217.34
8.0.300.0000.00718.77
8.0.290.0070.00016.58
8.0.280.0030.00318.16
8.0.270.0000.00716.98
8.0.260.0030.00317.12
8.0.250.0040.00416.87
8.0.240.0000.00716.78
8.0.230.0030.00316.95
8.0.220.0000.00616.82
8.0.210.0000.00716.72
8.0.200.0060.00316.96
8.0.190.0040.00416.87
8.0.180.0050.00516.92
8.0.170.0040.00416.91
8.0.160.0000.00716.79
8.0.150.0040.00416.84
8.0.140.0000.00716.87
8.0.130.0030.00313.36
8.0.120.0050.00216.79
8.0.110.0040.00416.88
8.0.100.0000.00816.68
8.0.90.0000.00716.86
8.0.80.0100.00716.93
8.0.70.0000.00716.87
8.0.60.0040.00416.94
8.0.50.0040.00416.78
8.0.30.0140.00517.07
8.0.20.0070.01117.40
8.0.10.0000.00716.86
8.0.00.0150.00316.76
7.4.330.0060.00015.00
7.4.320.0030.00316.45
7.4.300.0030.00316.41
7.4.290.0070.00016.51
7.4.280.0000.00916.38
7.4.270.0070.00016.33
7.4.260.0000.00616.37
7.4.250.0050.00316.41
7.4.240.0070.00016.45
7.4.230.0000.00716.63
7.4.220.0030.01316.63
7.4.210.0110.00416.48
7.4.200.0000.00816.32
7.4.190.0030.00316.62
7.4.160.0140.00016.50
7.4.150.0070.01317.40
7.4.140.0130.00717.86
7.4.130.0060.01116.40
7.4.120.0130.00816.28
7.4.110.0100.00616.46
7.4.100.0090.00916.60
7.4.90.0140.00416.40
7.4.80.0090.00919.39
7.4.70.0090.01216.31
7.4.60.0110.00516.52
7.4.50.0080.00016.21
7.4.40.0040.01522.77
7.4.30.0090.00616.32
7.4.00.0060.00914.66
7.3.330.0000.00813.25
7.3.320.0050.00013.32
7.3.310.0000.00816.11
7.3.300.0060.00016.17
7.3.290.0060.00916.27
7.3.280.0090.01116.28
7.3.270.0070.01017.40
7.3.260.0060.01116.33
7.3.250.0080.00916.32
7.3.240.0030.01816.51
7.3.230.0070.01116.56
7.3.210.0070.01016.54
7.3.200.0070.01419.39
7.3.190.0080.00816.42
7.3.180.0070.01016.55
7.3.170.0160.00016.53
7.3.160.0030.01316.25
7.3.120.0060.00615.00
7.2.330.0100.00716.30
7.2.320.0080.00816.50
7.2.310.0110.00716.54
7.2.300.0100.00616.50
7.2.290.0070.01416.39
7.2.00.0000.01519.20
7.1.100.0030.01218.21
7.1.70.0070.00017.00
7.1.60.0070.01119.46
7.1.50.0000.02216.39
7.1.00.0030.07722.29
7.0.200.0000.00716.39
7.0.140.0000.07322.08
7.0.60.0100.06320.02
7.0.50.0070.04717.85
7.0.40.0070.04020.10
7.0.30.0500.03020.23
7.0.20.0200.03720.16
7.0.10.0030.05020.11
7.0.00.0070.05320.14
5.6.280.0030.07320.82
5.6.210.0130.07720.57
5.6.200.0070.07718.23
5.6.190.0170.08320.55
5.6.180.0270.05020.61
5.6.170.0300.05020.53
5.6.160.0130.04020.55
5.6.150.0030.04018.18
5.6.140.0030.04718.12
5.6.130.0070.08318.15
5.6.120.0000.04320.98
5.6.110.0030.05321.14
5.6.100.0200.08020.98
5.6.90.0170.05720.88
5.6.80.0200.06320.39
5.6.70.4470.04320.39
5.5.350.0200.06720.43
5.5.340.0070.03718.07
5.5.330.0070.06020.45
5.5.320.0270.07020.31
5.5.310.0370.07320.24
5.5.300.0100.03717.95
5.5.290.0030.05317.95
5.5.280.0100.07020.77
5.5.270.0170.07720.71
5.5.260.0030.08720.64
5.5.250.0070.03720.59
5.5.240.0300.06720.13
5.4.450.0970.06319.47
5.4.440.1030.06719.29
5.4.430.0630.06719.48
5.4.420.0570.06019.29
5.4.410.0930.04719.34
5.4.400.0670.06319.31
5.4.390.0770.05318.85
5.4.380.0130.06718.72
5.4.370.0330.04718.52
5.4.360.0970.04718.73
5.4.350.0300.04718.75
5.4.340.0370.04318.84
5.4.320.0050.03712.50
5.4.310.0050.05212.50
5.4.300.0080.04212.50
5.4.290.0130.05112.48
5.4.280.0150.08012.38
5.4.270.0150.04712.38
5.4.260.0210.06612.38
5.4.250.0140.06112.38
5.4.240.0110.04712.38
5.4.230.0180.05712.37
5.4.220.0130.04512.38
5.4.210.0150.06112.38
5.4.200.0090.05012.37
5.4.190.0110.04712.37
5.4.180.0130.07212.36
5.4.170.0030.04212.38
5.4.160.0060.04012.38
5.4.150.0050.03812.37
5.4.140.0120.03212.05
5.4.130.0030.04012.05
5.4.120.0090.03412.00
5.4.110.0070.03811.99
5.4.100.0170.03811.99
5.4.90.0100.04712.00
5.4.80.0060.04412.00
5.4.70.0090.04612.00
5.4.60.0150.04711.99
5.4.50.0100.03911.99
5.4.40.0050.05411.98
5.4.30.0070.05711.98
5.4.20.0120.05711.98
5.4.10.0090.04411.98
5.4.00.0120.04911.47
5.3.290.0060.03912.80
5.3.280.0100.04812.71
5.3.270.0100.06012.72
5.3.260.0150.04512.71
5.3.250.0100.04112.72
5.3.240.0110.05012.72
5.3.230.0080.04112.70
5.3.220.0110.04012.68
5.3.210.0050.05112.68
5.3.200.0130.06512.68
5.3.190.0140.05112.67
5.3.180.0120.06612.67
5.3.170.0110.06112.67
5.3.160.0120.04812.67
5.3.150.0150.04112.68
5.3.140.0140.04112.66
5.3.130.0180.03912.66
5.3.120.0070.05512.66
5.3.110.0050.05812.66
5.3.100.0090.04912.13
5.3.90.0050.05812.10
5.3.80.0100.05212.09
5.3.70.0120.05212.09
5.3.60.0290.10112.08
5.3.50.0130.05712.02
5.3.40.0080.05412.02
5.3.30.0120.07611.98
5.3.20.0110.07811.76
5.3.10.0140.07011.73
5.3.00.0100.04511.71
5.2.170.0130.0649.18
5.2.160.0130.0749.18
5.2.150.0070.0519.18
5.2.140.0040.0569.18
5.2.130.0110.0469.14
5.2.120.0130.0619.14
5.2.110.0190.0729.15
5.2.100.0090.0449.14
5.2.90.0100.0459.14
5.2.80.0100.0599.14
5.2.70.0130.0779.14
5.2.60.0080.0599.09
5.2.50.0120.0799.06
5.2.40.0060.0309.04
5.2.30.0050.0329.01
5.2.20.0040.0329.01
5.2.10.0030.0338.93
5.2.00.0030.0348.79
5.1.60.0040.0308.07
5.1.50.0040.0278.06
5.1.40.0050.0278.05
5.1.30.0070.0268.40
5.1.20.0010.0328.41
5.1.10.0060.0268.14
5.1.00.0040.0298.14
5.0.50.0020.0246.62
5.0.40.0050.0296.48
5.0.30.0060.0526.29
5.0.20.0060.0196.27
5.0.10.0060.0256.24
5.0.00.0030.0356.23
4.4.90.0030.0224.78
4.4.80.0050.0194.75
4.4.70.0040.0194.76
4.4.60.0040.0164.76
4.4.50.0040.0174.77
4.4.40.0020.0334.70
4.4.30.0060.0184.75
4.4.20.0050.0214.85
4.4.10.0030.0214.85
4.4.00.0060.0394.76
4.3.110.0040.0244.67
4.3.100.0050.0354.66
4.3.90.0050.0284.63
4.3.80.0060.0294.58
4.3.70.0060.0284.63
4.3.60.0080.0154.63
4.3.50.0040.0214.63
4.3.40.0050.0344.54
4.3.30.0020.0353.29
4.3.20.0060.0233.27
4.3.10.0060.0333.22
4.3.00.0130.01710.54

preferences:
42.25 ms | 401 KiB | 5 Q