3v4l.org

run code in 300+ PHP versions simultaneously
<?php function auto($c) { echo "1\n"; spl_autoload_call($c); if (!class_exists($c)) { echo "end\n"; throw new \Exception(); } } spl_autoload_register('auto'); new X();

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.0730.01047.09
8.3.50.0790.02346.38
8.3.40.0670.01047.42
8.3.30.0630.02247.60
8.3.20.0390.00748.75
8.3.10.0280.01450.58
8.3.00.0240.02147.89
8.2.180.0570.01128.34
8.2.170.0540.00730.58
8.2.160.0410.01732.26
8.2.150.0270.00330.78
8.2.140.0240.00630.81
8.2.130.0250.00432.09
8.2.120.0410.01031.07
8.2.110.0200.01434.17
8.2.100.0300.01331.45
8.2.90.0230.00331.11
8.2.80.0140.00729.38
8.2.70.0210.00629.38
8.2.60.0130.01029.68
8.2.50.0130.00929.25
8.2.40.0120.01229.82
8.2.30.0110.01130.21
8.2.20.0190.00329.64
8.2.10.0150.00729.91
8.2.00.0170.00331.50
8.1.280.0420.01029.58
8.1.270.0160.02034.43
8.1.260.0230.00632.20
8.1.250.0160.01334.23
8.1.240.0230.01034.43
8.1.230.0370.00731.29
8.1.220.0030.01929.66
8.1.210.0200.01029.25
8.1.200.0290.00029.10
8.1.190.0190.00929.23
8.1.180.0170.00729.00
8.1.170.0240.00330.52
8.1.160.0150.00733.99
8.1.150.0140.01130.61
8.1.140.0170.00329.32
8.1.130.0070.01329.84
8.1.120.0140.01429.47
8.1.110.0230.00029.38
8.1.100.0150.00329.41
8.1.90.0160.00329.47
8.1.80.0150.00429.45
8.1.70.0160.00429.34
8.1.60.0130.01029.58
8.1.50.0140.00729.57
8.1.40.0220.00029.48
8.1.30.0160.00629.47
8.1.20.0180.00629.60
8.1.10.0180.00429.53
8.1.00.0170.00729.62
8.0.300.0130.01028.85
8.0.290.0180.00428.25
8.0.280.0180.00429.94
8.0.270.0070.01328.76
8.0.260.0070.01128.70
8.0.250.0100.00728.41
8.0.240.0100.01028.42
8.0.230.0090.00928.33
8.0.220.0160.00328.27
8.0.210.0180.00028.17
8.0.200.0110.00728.16
8.0.190.0120.00928.32
8.0.180.0110.01128.32
8.0.170.0110.00728.27
8.0.160.0100.01328.34
8.0.150.0120.00828.06
8.0.140.0070.01328.25
8.0.130.0130.00624.72
8.0.120.0130.00728.25
8.0.110.0140.00728.21
8.0.100.0200.00028.23
8.0.90.0140.00728.22
8.0.80.0340.02528.20
8.0.70.0070.01128.09
8.0.60.0100.00728.10
8.0.50.0140.00328.22
8.0.30.0720.03828.44
8.0.20.0740.02728.24
8.0.10.0140.00428.31
8.0.00.0740.03528.19
7.4.330.0100.00726.98
7.4.320.0110.01128.31
7.4.300.0190.00428.13
7.4.290.0110.01428.30
7.4.280.0130.00628.20
7.4.270.0100.01028.20
7.4.260.0120.00628.28
7.4.250.0140.00728.12
7.4.240.0110.00828.21
7.4.230.0110.00728.28
7.4.220.0290.03628.23
7.4.210.0410.02728.37
7.4.200.0040.01528.31
7.4.160.0540.05828.42
7.4.150.0860.03328.18
7.4.140.0670.03328.29
7.4.130.0720.02428.31
7.4.120.0790.03128.27
7.4.110.0640.02628.16
7.4.100.0640.03928.09
7.4.90.0730.02728.16
7.4.80.0720.04128.34
7.4.70.0490.03428.24
7.4.60.0500.03428.21
7.4.50.0260.00628.28
7.4.40.0390.03628.23
7.4.30.0500.02228.19
7.4.00.0330.01026.39
7.3.330.0180.00425.25
7.3.320.0160.00625.07
7.3.310.0140.00728.24
7.3.300.0130.00628.07
7.3.290.0290.02928.20
7.3.280.0320.03628.12
7.3.270.0660.02828.53
7.3.260.0910.02028.61
7.3.250.0610.02828.45
7.3.240.0840.02328.29
7.3.230.0560.03228.47
7.3.210.0800.05228.17
7.3.200.0740.05228.29
7.3.190.0600.01928.20
7.3.180.0730.02928.41
7.3.170.0750.04428.22
7.3.160.0670.04228.32
7.3.120.0320.01927.04
7.2.330.0550.04328.38
7.2.320.0520.03928.24
7.2.310.0480.03228.36
7.2.300.0530.02027.96
7.2.290.0470.03428.06
7.1.70.0070.01127.01
7.1.60.0130.00727.22
7.1.50.0060.01326.95
7.1.40.0130.00926.70
7.1.30.0100.00726.70
7.1.20.0110.00726.84
7.1.10.0150.00826.45
7.1.00.0340.00726.59
7.0.200.0160.00328.71
7.0.190.0200.00028.70
7.0.180.0100.00728.27
7.0.170.0090.00628.06
7.0.160.0200.00328.00
7.0.150.0040.01828.17
7.0.140.0270.02728.36
7.0.130.0290.01028.40
7.0.120.0300.01328.53
7.0.110.0140.01428.43
7.0.100.0210.02428.21
7.0.90.0220.01028.14
7.0.80.0170.00728.41
7.0.70.0190.01028.34
7.0.60.0270.00328.02
7.0.50.0200.00728.36
7.0.40.0140.00322.35
7.0.30.0100.01322.56
7.0.20.0170.00022.23
7.0.10.0070.01822.38
7.0.00.0060.01222.34
5.6.300.0130.05432.71
5.6.290.0200.08432.58
5.6.280.0100.05232.73
5.6.270.0170.04732.73
5.6.260.0100.04332.90
5.6.250.0160.03832.89
5.6.240.0200.08932.82
5.6.230.0100.05132.75
5.6.220.0000.05432.66
5.6.210.0160.03932.44
5.6.200.0100.05232.72
5.6.190.0100.04532.64
5.6.180.0210.04832.86
5.6.170.0130.06732.66
5.6.160.0170.03832.63
5.6.150.0100.06732.75
5.6.140.0130.04932.67
5.6.130.0070.05632.87
5.6.120.0100.04832.62
5.6.110.0100.05332.68
5.6.100.0070.04532.69
5.6.90.0160.05632.56
5.6.80.0100.04132.14
5.6.70.0100.04331.95
5.6.60.0030.05632.13
5.6.50.0070.04732.14
5.6.40.0130.04432.12
5.6.30.0140.04531.98
5.6.20.0160.04231.97
5.6.10.0130.03931.97
5.6.00.0100.05032.03
5.5.380.0100.04029.16
5.5.370.0070.04429.45
5.5.360.0100.04429.43
5.5.350.0160.04929.35
5.5.340.0140.04529.85
5.5.330.0100.05629.64
5.5.320.0130.04229.64
5.5.310.0140.04729.77
5.5.300.0140.04829.83
5.5.290.0100.04629.85
5.5.280.0130.04729.86
5.5.270.0070.05029.85
5.5.260.0100.06129.77
5.5.250.0100.04829.59
5.5.240.0130.03829.23
5.5.230.0070.04529.26
5.5.220.0100.04229.02
5.5.210.0070.04729.26
5.5.200.0070.05528.86
5.5.190.0030.05529.07
5.5.180.0200.04128.85
5.5.160.0140.04128.99
5.5.150.0140.04229.14
5.5.140.0170.04129.21
5.5.130.0070.04729.22
5.5.120.0070.04329.21
5.5.110.0200.03928.98
5.5.100.0220.03229.08
5.5.90.0200.04028.89
5.5.80.0290.04228.73
5.5.70.0160.04428.88
5.5.60.0130.04429.02
5.5.50.0070.04329.02
5.5.40.0170.03729.10
5.5.30.0130.04328.88
5.5.20.0080.05729.09
5.5.10.0070.05229.00
5.5.00.0360.04229.04
5.4.450.0170.04031.37
5.4.440.0030.05831.50
5.4.430.0030.04831.22
5.4.420.0400.05031.52
5.4.410.0070.05631.32
5.4.400.0100.04530.95
5.4.390.0130.05231.32
5.4.380.0100.04231.29
5.4.370.0170.03331.04
5.4.360.0130.04030.96
5.4.350.0130.04530.92
5.4.340.0100.04330.95
5.4.320.0140.04731.07
5.4.310.0070.05131.20
5.4.300.0140.04531.04
5.4.290.0100.04931.14
5.4.280.0140.06131.26
5.4.270.0170.04431.03
5.4.260.0170.04431.12
5.4.250.0120.04331.04
5.4.240.0170.04030.95
5.4.230.0130.05931.11
5.4.220.0100.04930.95
5.4.210.0130.04031.14
5.4.200.0160.04531.01
5.4.190.0180.03531.13
5.4.180.0220.04430.99
5.4.170.0170.03831.31
5.4.160.0100.05430.91
5.4.150.0100.04830.98
5.4.140.0170.03828.77
5.4.130.0250.04328.43
5.4.120.0190.03528.58
5.4.110.0230.04528.59
5.4.100.0300.03328.79
5.4.90.0070.04828.83
5.4.80.0110.04028.51
5.4.70.0100.04328.86
5.4.60.0100.03828.51
5.4.50.0100.04128.51
5.4.40.0130.04028.77
5.4.30.0100.03928.89
5.4.20.0110.03628.79
5.4.10.0170.03428.56
5.4.00.0100.04128.21
5.3.290.0070.04227.14
5.3.280.0100.04626.79
5.3.270.0220.04426.79
5.3.260.0070.04426.88
5.3.250.0140.03426.66
5.3.240.0100.04726.90
5.3.230.0130.04026.46
5.3.220.0130.03926.86
5.3.210.0170.06226.76
5.3.200.0130.05026.85
5.3.190.0160.03626.44
5.3.180.0130.04226.85
5.3.170.0130.08026.86
5.3.160.0380.04126.85
5.3.150.0170.03426.43
5.3.140.0220.03526.77
5.3.130.0100.04126.73
5.3.120.0260.04626.84
5.3.110.0130.04026.42
5.3.100.0070.04126.11
5.3.90.0100.05126.09
5.3.80.0170.03325.95
5.3.70.0130.03926.15
5.3.60.0190.05826.10
5.3.50.0070.04626.09
5.3.40.0140.04126.00
5.3.30.0130.03525.82
5.3.20.0110.03925.83
5.3.10.0100.03625.83
5.3.00.0090.04125.88

preferences:
47.6 ms | 400 KiB | 5 Q