3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo; class Loader { public function __construct() { spl_autoload_register([$this, 'load']); } public function load() {} } spl_autoload_register(['Foo\Loader', 'load']); new Loader(); var_dump(spl_autoload_functions());

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.40.0120.00318.75
8.3.30.0110.00418.52
8.3.20.0000.00720.25
8.3.10.0040.00423.48
8.3.00.0150.00019.51
8.2.170.0100.01022.96
8.2.160.0120.00320.44
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00319.23
8.2.120.0080.00026.35
8.2.110.0060.00320.33
8.2.100.0000.01217.80
8.2.90.0060.00319.28
8.2.80.0080.00017.97
8.2.70.0080.00317.50
8.2.60.0080.00017.80
8.2.50.0090.00018.07
8.2.40.0000.00819.52
8.2.30.0000.00720.49
8.2.20.0060.00317.58
8.2.10.0040.00418.02
8.2.00.0000.01017.91
8.1.270.0040.00423.97
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0110.00022.02
8.1.230.0110.00417.68
8.1.220.0060.00317.74
8.1.210.0050.00318.77
8.1.200.0030.00617.23
8.1.190.0000.00817.23
8.1.180.0070.00018.10
8.1.170.0080.00018.78
8.1.160.0080.00021.98
8.1.150.0040.00418.81
8.1.140.0040.00419.46
8.1.130.0040.00417.45
8.1.120.0000.00717.33
8.1.110.0040.00317.36
8.1.100.0070.00017.21
8.1.90.0000.00717.33
8.1.80.0060.00317.32
8.1.70.0000.00717.36
8.1.60.0000.00817.35
8.1.50.0000.00817.35
8.1.40.0000.00717.34
8.1.30.0030.00617.49
8.1.20.0040.00417.59
8.1.10.0000.00817.54
8.1.00.0000.01017.45
8.0.300.0000.00818.84
8.0.290.0050.00516.63
8.0.280.0040.00418.29
8.0.270.0000.00717.20
8.0.260.0060.00317.17
8.0.250.0030.00316.82
8.0.240.0080.00016.94
8.0.230.0030.00316.97
8.0.220.0100.00016.95
8.0.210.0070.00016.93
8.0.200.0000.00617.00
8.0.190.0040.00416.86
8.0.180.0030.00616.87
8.0.170.0050.00316.88
8.0.160.0000.00816.96
8.0.150.0070.00016.78
8.0.140.0070.00016.86
8.0.130.0030.00313.32
8.0.120.0050.00316.87
8.0.110.0000.00716.87
8.0.100.0040.00416.90
8.0.90.0080.00016.75
8.0.80.0120.00316.85
8.0.70.0070.00016.93
8.0.60.0040.00416.96
8.0.50.0060.00316.73
8.0.30.0080.01216.98
8.0.20.0210.01717.40
8.0.10.0000.00816.77
8.0.00.0090.01016.60
7.4.330.0050.00016.67
7.4.320.0000.00616.41
7.4.300.0060.00016.53
7.4.290.0000.00716.43
7.4.280.0060.00316.43
7.4.270.0030.00316.38
7.4.260.0070.00016.55
7.4.250.0000.00716.36
7.4.240.0030.00416.46
7.4.230.0040.00416.61
7.4.220.0130.00616.38
7.4.210.0140.00016.41
7.4.200.0030.00316.51
7.4.160.0160.00016.49
7.4.150.0140.01117.40
7.4.140.0170.00717.86
7.4.130.0170.00016.55
7.4.120.0040.01216.51
7.4.110.0090.00616.36
7.4.100.0000.01616.44
7.4.90.0090.00916.61
7.4.80.0030.01519.39
7.4.70.0130.01016.36
7.4.60.0060.00916.52
7.4.50.0090.00616.41
7.4.40.0120.00916.32
7.4.30.0060.01516.41
7.4.00.0070.00714.78
7.3.330.0000.00813.22
7.3.320.0020.00213.28
7.3.310.0040.00416.32
7.3.300.0000.00716.29
7.3.290.0100.00616.27
7.3.280.0080.00916.27
7.3.270.0070.01117.40
7.3.260.0100.00716.29
7.3.240.0100.00616.29
7.3.230.0170.00016.39
7.3.210.0030.01416.55
7.3.200.0150.00416.55
7.3.190.0070.01016.45
7.3.180.0090.00616.52
7.3.170.0120.00616.48
7.3.160.0130.00316.47
7.2.330.0110.00716.56
7.2.320.0120.01016.26
7.2.310.0160.00016.74
7.2.300.0070.01016.56
7.2.290.0090.01216.26
7.2.60.0040.00816.41
7.2.00.0000.01219.15
7.1.200.0030.01015.45
7.1.100.0000.01117.57
7.1.70.0000.01017.07
7.1.60.0100.01319.48
7.1.50.0000.01016.48
7.1.00.0030.07722.41
7.0.200.0030.00716.72
7.0.60.0030.08320.02
7.0.50.0030.05317.83
7.0.40.0070.08719.96
7.0.30.0200.04020.26
7.0.20.0300.06720.32
7.0.10.0100.07320.18
7.0.00.0170.07720.33
5.6.280.0070.05721.13
5.6.210.0130.07720.55
5.6.200.0070.05018.29
5.6.190.0100.07320.58
5.6.180.0270.03720.63
5.6.170.0330.08020.53
5.6.160.0100.06320.46
5.6.150.0170.07318.19
5.6.140.0070.04718.23
5.6.130.0100.09018.21
5.6.120.0070.06021.02
5.6.110.0100.03321.00
5.6.100.0100.08020.97
5.6.90.0100.06321.13
5.6.80.0100.08320.52
5.5.350.3600.04020.40
5.5.340.0000.04017.97
5.5.330.0070.08020.38
5.5.320.0100.06720.24
5.5.310.0230.04020.33
5.5.300.0100.05317.95
5.5.290.0030.08017.96
5.5.280.0030.05320.86
5.5.270.0070.04720.65
5.5.260.0070.08720.76
5.5.250.0030.06720.59
5.5.240.1070.05320.27

preferences:
49.92 ms | 400 KiB | 5 Q