3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo; class Loader { public function __construct() { spl_autoload_register([self, 'load']); } public static 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.0110.00418.88
8.3.30.0070.00718.79
8.3.20.0040.00420.29
8.3.10.0080.00023.48
8.3.00.0040.00419.25
8.2.170.0070.00722.96
8.2.160.0100.01020.38
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00617.38
8.2.120.0040.00426.35
8.2.110.0000.01022.08
8.2.100.0040.00817.91
8.2.90.0000.00917.73
8.2.80.0000.00817.97
8.2.70.0050.00317.93
8.2.60.0060.00318.06
8.2.50.0000.00818.10
8.2.40.0070.00019.34
8.2.30.0040.00420.37
8.2.20.0050.00517.73
8.2.10.0000.00718.00
8.2.00.0040.00418.12
8.1.270.0040.00423.96
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0040.00423.92
8.1.230.0070.00719.00
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0080.00317.35
8.1.190.0000.00817.23
8.1.180.0080.00018.10
8.1.170.0030.00618.52
8.1.160.0040.00418.73
8.1.150.0040.00418.83
8.1.140.0060.00319.42
8.1.130.0080.00017.58
8.1.120.0070.00017.33
8.1.110.0040.00417.45
8.1.100.0070.00017.40
8.1.90.0070.00017.38
8.1.80.0000.00717.31
8.1.70.0070.00017.35
8.1.60.0070.00017.36
8.1.50.0040.00417.47
8.1.40.0030.00617.43
8.1.30.0000.00817.54
8.1.20.0040.00417.55
8.1.10.0000.00717.54
8.1.00.0080.00417.32
8.0.300.0030.00519.71
8.0.290.0080.00016.88
8.0.280.0000.00818.35
8.0.270.0040.00417.32
8.0.260.0070.00317.25
8.0.250.0000.00617.02
8.0.240.0040.00416.90
8.0.230.0030.00317.05
8.0.220.0100.00016.98
8.0.210.0040.00416.93
8.0.200.0000.00617.02
8.0.190.0050.00316.89
8.0.180.0070.00316.83
8.0.170.0000.00816.99
8.0.160.0070.00316.98
8.0.150.0040.00416.88
8.0.140.0040.00416.79
8.0.130.0000.00513.36
8.0.120.0030.00516.82
8.0.110.0030.00417.01
8.0.100.0070.00017.01
8.0.90.0040.00416.90
8.0.80.0030.01217.00
8.0.70.0020.00516.98
8.0.60.0000.00716.79
8.0.50.0090.00016.98
8.0.30.0130.00617.10
8.0.20.0130.00917.40
8.0.10.0030.00616.96
8.0.00.0100.00716.84
7.4.330.0000.00516.85
7.4.320.0000.00616.54
7.4.300.0040.00416.52
7.4.290.0030.00316.51
7.4.280.0080.00016.44
7.4.270.0000.00716.42
7.4.260.0040.00416.32
7.4.250.0070.00016.32
7.4.240.0040.00316.44
7.4.230.0030.00316.54
7.4.220.0040.01416.45
7.4.210.0120.00316.60
7.4.200.0040.00416.52
7.4.160.0030.01316.79
7.4.150.0170.01017.40
7.4.140.0110.01017.86
7.4.130.0100.00716.49
7.4.120.0080.01216.45
7.4.110.0090.00616.50
7.4.100.0060.01016.30
7.4.90.0070.01316.54
7.4.80.0170.00619.39
7.4.70.0150.00916.48
7.4.60.0070.00716.48
7.4.50.0110.00416.39
7.4.40.0130.01016.56
7.4.30.0110.01116.63
7.4.00.0060.00614.76
7.3.330.0000.00713.33
7.3.320.0050.00013.31
7.3.310.0030.00316.37
7.3.300.0030.00316.43
7.3.290.0090.00816.34
7.3.280.0070.01216.33
7.3.270.0170.00017.40
7.3.260.0090.00816.30
7.3.250.0100.01016.37
7.3.240.0030.01316.34
7.3.230.0150.00716.52
7.3.210.0100.00716.20
7.3.200.0090.00616.68
7.3.190.0120.00616.40
7.3.180.0110.00416.59
7.3.170.0080.00816.63
7.3.160.0090.00616.39
7.2.330.0130.00616.50
7.2.320.0070.01116.53
7.2.310.0100.00616.64
7.2.300.0150.00616.60
7.2.290.0160.00716.50
7.2.60.0070.00316.60
7.2.00.0070.00719.38
7.1.200.0070.00415.50
7.1.100.0000.00917.98
7.1.70.0030.01216.80
7.1.60.0140.01019.48
7.1.50.0070.01316.49
7.1.00.0030.07722.58
7.0.200.0050.00216.78
7.0.60.0100.08319.86
7.0.50.0100.03717.86
7.0.40.0070.07319.96
7.0.30.0200.04020.33
7.0.20.0170.05720.22
7.0.10.0070.07320.26
7.0.00.0130.06020.29
5.6.280.0030.06021.16
5.6.210.0200.07320.62
5.6.200.0130.03718.28
5.6.190.0100.08720.41
5.6.180.0500.05320.61
5.6.170.0230.08720.71
5.6.160.0130.07320.55
5.6.150.0100.08018.28
5.6.140.0030.04018.21
5.6.130.0070.06018.14
5.6.120.0070.04020.99
5.6.110.0100.08320.98
5.6.100.0070.08020.98
5.6.90.0070.09021.07
5.6.80.0000.08320.38
5.5.350.3900.04320.47
5.5.340.0130.07017.98
5.5.330.0070.07720.42
5.5.320.0130.06320.30
5.5.310.0230.04020.34
5.5.300.0030.08717.96
5.5.290.0070.08018.04
5.5.280.0070.07720.89
5.5.270.0030.04020.80
5.5.260.0100.08020.80
5.5.250.0070.07720.47
5.5.240.0200.03020.16

preferences:
39.01 ms | 400 KiB | 5 Q