3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Provider { public function boot(ArgumentType $x) { return; } } class ProviderB extends Provider { public function boot(ArgumentType $x) { return 'yay'; } } $f = new ProviderB; $f->boot(1, 2, 3);

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.0120.00916.38
8.3.50.0110.00418.18
8.3.40.0100.00718.91
8.3.30.0150.00018.68
8.3.20.0000.00720.16
8.3.10.0050.00323.66
8.3.00.0030.00623.67
8.2.180.0100.01018.41
8.2.170.0040.01122.96
8.2.160.0070.00722.26
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0030.00520.75
8.2.120.0070.00026.35
8.2.110.0030.00719.24
8.2.100.0070.00417.92
8.2.90.0030.00519.09
8.2.80.0040.00417.97
8.2.70.0090.00017.50
8.2.60.0030.00617.80
8.2.50.0000.00818.09
8.2.40.0000.00822.24
8.2.30.0040.00419.28
8.2.20.0030.00717.73
8.2.10.0020.00517.98
8.2.00.0000.00717.99
8.1.280.0000.01525.92
8.1.270.0080.00022.02
8.1.260.0070.00328.09
8.1.250.0040.00428.09
8.1.240.0000.00822.57
8.1.230.0120.00017.82
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00717.35
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0040.00418.53
8.1.160.0040.00420.69
8.1.150.0000.00820.57
8.1.140.0000.00819.49
8.1.130.0040.00417.59
8.1.120.0070.00017.31
8.1.110.0000.00717.38
8.1.100.0080.00017.45
8.1.90.0070.00017.44
8.1.80.0000.00817.42
8.1.70.0030.00317.36
8.1.60.0070.00017.53
8.1.50.0000.00817.45
8.1.40.0090.00017.49
8.1.30.0040.00417.55
8.1.20.0080.00017.46
8.1.10.0000.00817.58
8.1.00.0040.00417.43
8.0.300.0040.00418.84
8.0.290.0040.00416.75
8.0.280.0030.00318.37
8.0.270.0000.00717.06
8.0.260.0080.00017.25
8.0.250.0030.00516.96
8.0.240.0000.00816.92
8.0.230.0030.00316.80
8.0.220.0030.00616.85
8.0.210.0000.00716.85
8.0.200.0000.00616.84
8.0.190.0040.00416.82
8.0.180.0070.00016.89
8.0.170.0000.00716.84
8.0.160.0050.00216.82
8.0.150.0050.00316.73
8.0.140.0030.00516.74
8.0.130.0000.00513.35
8.0.120.0000.00816.84
8.0.110.0050.00216.91
8.0.100.0050.00216.82
8.0.90.0040.00416.68
8.0.80.0040.01116.92
8.0.70.0070.00016.88
8.0.60.0000.00816.95
8.0.50.0040.00416.94
8.0.30.0130.00417.09
8.0.20.0120.00617.40
8.0.10.0030.00517.00
8.0.00.0120.00616.82
7.4.330.0000.00416.77
7.4.320.0060.00016.30
7.4.300.0030.00316.40
7.4.290.0030.00516.51
7.4.280.0080.00016.48
7.4.270.0030.00316.57
7.4.260.0080.00316.50
7.4.250.0050.00316.42
7.4.240.0030.00316.46
7.4.230.0000.00716.40
7.4.220.0090.00916.60
7.4.210.0150.00316.63
7.4.200.0070.00016.39
7.4.160.0120.00616.51
7.4.150.0100.00717.40
7.4.140.0110.01217.86
7.4.130.0050.01216.45
7.4.120.0080.00916.59
7.4.110.0100.00616.68
7.4.100.0120.00616.49
7.4.90.0070.01016.55
7.4.80.0170.00019.39
7.4.70.0030.01416.55
7.4.60.0120.00616.50
7.4.50.0070.00716.37
7.4.40.0060.01016.53
7.4.30.0090.00916.57
7.4.00.0000.01715.13
7.3.330.0020.00213.21
7.3.320.0000.00613.15
7.3.310.0070.00016.25
7.3.300.0000.00716.31
7.3.290.0100.00716.38
7.3.280.0090.01116.34
7.3.270.0110.00617.40
7.3.260.0100.00716.39
7.3.250.0090.00916.35
7.3.240.0070.01216.39
7.3.230.0130.00316.39
7.3.210.0070.01116.44
7.3.200.0090.00919.39
7.3.190.0000.01716.49
7.3.180.0000.01516.39
7.3.170.0110.01416.48
7.3.160.0120.00416.35
7.2.330.0080.00916.55
7.2.320.0100.00716.68
7.2.310.0060.01016.41
7.2.300.0170.00016.61
7.2.290.0120.00316.41
7.2.60.0060.01016.53
7.2.00.0060.00619.18
7.1.200.0080.00315.45
7.1.100.0000.01118.06
7.1.70.0070.00017.07
7.1.60.0130.01319.40
7.1.50.0070.00416.68
7.1.00.0000.08022.44
7.0.200.0030.00616.60
7.0.60.0170.08021.82
7.0.50.0030.07717.88
7.0.40.0070.08720.25
7.0.30.0270.07720.24
7.0.20.0330.07720.08
7.0.10.0170.07320.15
7.0.00.0030.06320.25
5.6.280.0030.04321.07
5.6.210.0000.09020.63
5.6.200.0070.05718.13
5.6.190.0070.09020.48
5.6.180.0230.04720.49
5.6.170.0230.06320.57
5.6.160.0030.04720.44
5.6.150.0100.07318.28
5.6.140.0030.06718.28
5.6.130.0130.06018.19
5.6.120.0070.08721.04
5.6.110.0070.09021.07
5.6.100.0130.06021.08
5.6.90.0100.08321.00
5.6.80.0030.04020.48
5.5.350.0170.04020.39
5.5.340.0030.08017.99
5.5.330.0100.08320.42
5.5.320.0230.04720.24
5.5.310.0270.07720.37
5.5.300.0030.08318.00
5.5.290.0030.08718.00
5.5.280.0130.07020.74
5.5.270.0170.07720.86
5.5.260.0030.05720.89
5.5.250.0070.06720.78
5.5.240.0270.07020.04

preferences:
56.81 ms | 401 KiB | 5 Q