3v4l.org

run code in 300+ PHP versions simultaneously
<?php function loader1($class) { var_dump(__FUNCTION__, $class); } function loader2($class) { var_dump(__FUNCTION__, $class); } spl_autoload_register('loader1'); spl_autoload_register('loader2'); new Xyz();

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.0000.01418.31
8.3.50.0110.01221.20
8.3.40.0070.00718.82
8.3.30.0110.00418.58
8.3.20.0000.00720.20
8.3.10.0040.00423.53
8.3.00.0000.00822.44
8.2.180.0090.00618.36
8.2.170.0110.00422.96
8.2.160.0100.00320.38
8.2.150.0090.00925.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00017.50
8.2.110.0000.01019.21
8.2.100.0090.00317.84
8.2.90.0040.00419.17
8.2.80.0040.00417.97
8.2.70.0030.00717.63
8.2.60.0060.00317.80
8.2.50.0050.00318.07
8.2.40.0060.00321.12
8.2.30.0030.00519.84
8.2.20.0030.00517.62
8.2.10.0040.00417.91
8.2.00.0000.00817.93
8.1.280.0070.01425.92
8.1.270.0050.00520.33
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0070.00423.98
8.1.230.0120.00017.45
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0000.00917.22
8.1.180.0060.00318.10
8.1.170.0040.00418.57
8.1.160.0000.00721.98
8.1.150.0040.00418.80
8.1.140.0050.00317.36
8.1.130.0020.00517.48
8.1.120.0040.00417.30
8.1.110.0000.00717.39
8.1.100.0070.00017.38
8.1.90.0040.00417.36
8.1.80.0040.00417.37
8.1.70.0030.00317.36
8.1.60.0030.00617.49
8.1.50.0040.00417.49
8.1.40.0000.00717.32
8.1.30.0050.00517.48
8.1.20.0000.00817.52
8.1.10.0000.00817.38
8.1.00.0070.00017.46
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0040.00418.36
8.0.270.0070.00017.12
8.0.260.0030.00317.04
8.0.250.0040.00416.97
8.0.240.0000.00616.88
8.0.230.0000.00716.88
8.0.220.0040.00416.90
8.0.210.0000.00716.94
8.0.200.0030.00316.95
8.0.190.0080.00016.91
8.0.180.0080.00016.95
8.0.170.0040.00416.80
8.0.160.0000.00716.93
8.0.150.0000.00816.85
8.0.140.0060.00316.79
8.0.130.0030.00313.33
8.0.120.0030.00516.89
8.0.110.0000.00716.84
8.0.100.0020.00516.83
8.0.90.0000.00816.90
8.0.80.0040.01116.83
8.0.70.0050.00316.80
8.0.60.0080.00016.93
8.0.50.0000.00816.92
8.0.30.0100.00817.01
8.0.20.0100.00817.40
8.0.10.0040.00417.00
8.0.00.0100.00716.72
7.4.330.0000.00615.08
7.4.320.0000.00716.52
7.4.300.0030.00316.29
7.4.290.0030.00316.34
7.4.280.0000.00916.52
7.4.270.0050.00316.55
7.4.260.0030.00316.51
7.4.250.0000.00816.49
7.4.240.0060.00116.41
7.4.230.0000.00716.24
7.4.220.0060.00916.38
7.4.210.0040.01116.55
7.4.200.0000.00716.49
7.4.160.0090.00616.52
7.4.150.0090.00917.40
7.4.140.0110.00817.86
7.4.130.0090.00916.44
7.4.120.0080.01016.40
7.4.110.0080.00816.49
7.4.100.0030.02216.60
7.4.90.0070.01116.25
7.4.80.0130.00419.39
7.4.70.0080.01316.34
7.4.60.0120.00616.51
7.4.50.0000.00916.34
7.4.40.0040.01216.64
7.4.30.0060.01616.55
7.4.00.0100.00314.82
7.3.330.0030.00513.29
7.3.320.0030.00313.37
7.3.310.0030.00316.39
7.3.300.0030.00316.28
7.3.290.0070.00916.29
7.3.280.0100.01016.29
7.3.270.0060.01217.40
7.3.260.0140.00416.26
7.3.250.0130.00716.26
7.3.240.0080.01116.42
7.3.230.0070.01016.39
7.3.210.0000.01616.28
7.3.200.0120.00319.39
7.3.190.0070.01016.49
7.3.180.0060.00916.50
7.3.170.0160.00016.27
7.3.160.0080.01116.30
7.3.10.0070.00716.20
7.3.00.0070.00716.64
7.2.330.0100.00716.33
7.2.320.0070.01016.22
7.2.310.0060.00916.38
7.2.300.0060.01116.57
7.2.290.0060.01116.54
7.2.130.0030.01016.41
7.2.120.0030.01316.55
7.2.110.0040.00816.75
7.2.100.0030.00616.73
7.2.90.0060.00616.83
7.2.80.0000.01316.56
7.2.70.0030.01016.83
7.2.60.0050.01116.69
7.2.50.0080.00416.50
7.2.40.0000.01016.77
7.2.30.0070.00716.63
7.2.20.0070.00316.41
7.2.10.0060.00316.71
7.2.00.0070.00317.95
7.1.250.0060.00615.50
7.1.200.0040.00415.75
7.1.100.0150.00718.33
7.1.70.0070.00017.15
7.1.60.0100.01420.03
7.1.50.0090.01217.01
7.1.00.0030.07322.44
7.0.200.0140.00016.57
7.0.60.0170.07019.89
7.0.50.0270.03717.86
7.0.40.0030.04720.12
7.0.30.0270.06320.23
7.0.20.0130.05020.10
7.0.10.0230.07320.22
7.0.00.0100.08020.09
5.6.280.0030.03321.07
5.6.210.0100.08020.70
5.6.200.0100.05018.29
5.6.190.0030.07320.39
5.6.180.0400.06720.34
5.6.170.0300.07320.39
5.6.160.0130.07720.71
5.6.150.0000.08318.28
5.6.140.0000.04018.19
5.6.130.0070.07718.14
5.6.120.0170.04721.09
5.6.110.0130.06720.96
5.6.100.0170.07321.14
5.6.90.0070.04020.99
5.6.80.0100.07720.38
5.6.70.4670.03020.47
5.5.350.0300.07320.41
5.5.340.0100.07718.08
5.5.330.0070.04720.37
5.5.320.0300.07720.30
5.5.310.0330.06720.30
5.5.300.0070.06317.96
5.5.290.0100.05317.98
5.5.280.0000.04320.78
5.5.270.0100.07320.96
5.5.260.0070.05720.73
5.5.250.0170.05020.59
5.5.240.0270.07020.37
5.4.450.0070.08719.58
5.4.440.0130.06319.34
5.4.430.0230.05019.32
5.4.420.0300.06019.38
5.4.410.0200.05319.51
5.4.400.0070.06319.15
5.4.390.0300.05019.01
5.4.380.0270.04319.13
5.4.370.0170.05018.83
5.4.360.0170.05319.26
5.4.350.0170.05019.32
5.4.340.0170.05719.32
5.4.320.0100.06319.26
5.4.310.0170.05319.28
5.4.300.0200.05019.27
5.4.290.0100.06019.36
5.4.280.0230.04719.28
5.4.270.0230.04719.01
5.4.260.0170.05019.14
5.4.250.0230.05018.83
5.4.240.0130.06019.14
5.4.230.0130.05719.05
5.4.220.0130.05718.86
5.4.210.0130.05719.00
5.4.200.0130.05716.91
5.4.190.0170.05019.13
5.4.180.0130.05319.17
5.4.170.0270.06319.17
5.4.160.0130.05719.09
5.4.150.0230.04719.24
5.4.140.0270.06716.50
5.4.130.0300.04316.47
5.4.120.0100.05316.56
5.4.110.0170.04716.36
5.4.100.0170.07016.60
5.4.90.0070.06016.45
5.4.80.0070.05716.38
5.4.70.0130.05016.33
5.4.60.0070.06716.35
5.4.50.0000.04016.23
5.4.40.0230.06716.54
5.4.30.0330.07016.53
5.4.20.0270.06716.50

preferences:
42 ms | 401 KiB | 5 Q