3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Basis { public function __construct($args = null) { if (is_numeric($args) && $args > 0) echo 'Geen argumenten gebruiken halve gare!'; } } class Testing extends Basis { public function __construct() { parent::__construct(func_num_args()); } } $test = new Testing('stiekem een argument toegevoegd!');

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.4.10.0000.00920.42
8.3.140.0110.00716.65
8.3.130.0000.00916.56
8.3.120.0060.00319.11
8.3.110.0050.00316.44
8.3.100.0030.00724.06
8.3.90.0120.00626.77
8.3.80.0060.00316.50
8.3.70.0110.00316.63
8.3.60.0100.01016.75
8.3.50.0080.00618.30
8.3.40.0080.00622.18
8.3.30.0090.00619.20
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.260.0090.00618.82
8.2.250.0040.01118.65
8.2.240.0150.00319.14
8.2.230.0120.00420.94
8.2.220.0060.00337.54
8.2.210.0040.00426.77
8.2.200.0070.00718.39
8.2.190.0090.00616.88
8.2.180.0090.00925.92
8.2.170.0070.01122.96
8.2.160.0100.00322.96
8.2.150.0050.00225.66
8.2.140.0000.00724.66
8.2.130.0000.00826.16
8.2.120.0070.00320.93
8.2.110.0030.00719.27
8.2.100.0040.00817.84
8.2.90.0040.00418.03
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0000.00817.93
8.2.50.0040.00418.07
8.2.40.0080.00019.95
8.2.30.0040.00417.97
8.2.20.0070.00020.34
8.2.10.0000.00718.00
8.2.00.0000.00719.11
8.1.300.0040.00418.36
8.1.290.0040.00430.84
8.1.280.0170.00725.92
8.1.270.0030.00624.66
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00322.53
8.1.230.0080.00320.93
8.1.220.0000.00817.74
8.1.210.0050.00518.93
8.1.200.0030.00617.13
8.1.190.0030.00517.22
8.1.180.0040.00418.10
8.1.170.0050.00318.46
8.1.160.0090.00018.76
8.1.150.0050.00218.62
8.1.140.0030.00617.43
8.1.130.0040.00418.87
8.1.120.0070.00017.50
8.1.110.0030.00517.35
8.1.100.0040.00417.47
8.1.90.0040.00417.34
8.1.80.0040.00417.34
8.1.70.0000.00717.37
8.1.60.0040.00417.60
8.1.50.0030.00517.49
8.1.40.0150.00517.53
8.1.30.0160.00217.60
8.1.20.0120.00617.61
8.1.10.0140.00517.49
8.1.00.0140.00517.44
8.0.300.0040.00419.94
8.0.290.0080.00016.75
8.0.280.0040.00418.43
8.0.270.0000.00818.01
8.0.260.0030.00318.34
8.0.250.0000.00716.82
8.0.240.0090.00016.86
8.0.230.0030.00316.99
8.0.220.0070.00016.86
8.0.210.0040.00416.77
8.0.200.0050.00516.90
8.0.190.0030.00616.83
8.0.180.0070.00016.91
8.0.170.0170.00016.81
8.0.160.0220.00016.86
8.0.150.0150.00616.73
8.0.140.0170.00416.81
8.0.130.0180.00416.73
8.0.120.0180.00416.89
8.0.110.0160.00516.80
8.0.100.0180.00416.81
8.0.90.0190.00416.81
8.0.80.0160.00716.82
8.0.70.0170.00616.77
8.0.60.0190.00416.72
8.0.50.0160.00716.69
8.0.30.0150.00616.81
8.0.20.0210.00216.80
8.0.10.0170.00516.97
7.4.330.0040.00415.55
7.4.320.0000.00616.51
7.4.300.0060.00016.54
7.4.290.0040.00416.43
7.4.280.0100.00816.47
7.4.270.0200.00416.34
7.4.260.0130.01016.49
7.4.250.0130.00616.47
7.4.240.0090.00716.22
7.4.230.0170.00016.09
7.4.220.0060.01016.21
7.4.210.0100.00416.29
7.4.200.0110.00416.24
7.4.190.0130.00416.44
7.4.180.0100.00516.36
7.4.160.0080.00516.54
7.4.150.0050.00916.37
7.4.140.0050.00816.17
7.4.130.0080.00316.38
7.4.120.0040.00616.27
7.4.110.0060.00516.35
7.4.100.0070.00416.35
7.4.90.0060.00616.41
7.4.80.0060.00316.34
7.4.70.0040.00716.35
7.4.60.0100.00016.34
7.4.50.0050.00616.10
7.4.40.0030.00716.22
7.4.30.0060.00316.21
7.4.20.0080.00216.34
7.4.10.0050.00416.38
7.4.00.0040.00616.17

preferences:
25.4 ms | 403 KiB | 5 Q