3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface C { public function foo(); } class A implements C { public function foo(array $test = array()) { var_dump($test); } } class B extends A { public function foo() { parent::foo(); } } $b = new B; $b->foo();

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.70.0140.01016.88
8.3.60.0050.01016.63
8.3.50.0070.01822.11
8.3.40.0060.00918.48
8.3.30.0070.00718.54
8.3.20.0040.00420.13
8.3.10.0020.00523.61
8.3.00.0050.00319.79
8.2.180.0170.00318.30
8.2.170.0080.00622.96
8.2.160.0110.00420.16
8.2.150.0080.00024.18
8.2.140.0150.00024.66
8.2.130.0040.00419.02
8.2.120.0030.00526.35
8.2.110.0090.00020.52
8.2.100.0080.00417.78
8.2.90.0040.00419.05
8.2.80.0030.00517.97
8.2.70.0000.00817.50
8.2.60.0030.00517.79
8.2.50.0030.00718.07
8.2.40.0000.00821.18
8.2.30.0000.00720.46
8.2.20.0030.00617.52
8.2.10.0050.00217.95
8.2.00.0000.00717.99
8.1.280.0070.00725.92
8.1.270.0080.00020.25
8.1.260.0050.00228.09
8.1.250.0070.00028.09
8.1.240.0040.00420.87
8.1.230.0030.00718.96
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0100.00017.23
8.1.190.0040.00417.00
8.1.180.0040.00418.10
8.1.170.0090.00018.57
8.1.160.0040.00420.74
8.1.150.0040.00418.74
8.1.140.0060.00319.41
8.1.130.0030.00317.67
8.1.120.0030.00317.42
8.1.110.0040.00417.31
8.1.100.0040.00417.42
8.1.90.0000.00817.30
8.1.80.0050.00217.29
8.1.70.0000.00717.35
8.1.60.0040.00417.40
8.1.50.0080.00017.38
8.1.40.0040.00417.33
8.1.30.0040.00417.49
8.1.20.0000.00717.60
8.1.10.0000.00817.39
8.1.00.0030.00517.18
8.0.300.0000.00718.77
8.0.290.0000.00816.75
8.0.280.0030.00318.36
8.0.270.0000.00717.19
8.0.260.0000.00717.19
8.0.250.0030.00316.96
8.0.240.0060.00316.84
8.0.230.0000.00816.99
8.0.220.0070.00016.85
8.0.210.0030.00316.81
8.0.200.0000.00616.88
8.0.190.0060.00316.98
8.0.180.0050.00216.85
8.0.170.0070.00016.93
8.0.160.0050.00316.82
8.0.150.0000.00816.85
8.0.140.0110.00016.82
8.0.130.0070.00013.35
8.0.120.0040.00416.90
8.0.110.0000.00716.88
8.0.100.0000.00716.73
8.0.90.0070.00016.71
8.0.80.0120.00316.84
8.0.70.0070.00016.77
8.0.60.0000.00716.91
8.0.50.0030.00616.74
8.0.30.0120.00616.98
8.0.20.0160.00317.40
8.0.10.0000.00716.92
8.0.00.0060.01216.66
7.4.330.0000.00516.82
7.4.320.0070.00016.43
7.4.300.0060.00016.52
7.4.290.0030.00316.45
7.4.280.0090.00016.52
7.4.270.0070.00016.48
7.4.260.0100.00016.45
7.4.250.0000.00716.38
7.4.240.0020.00516.47
7.4.230.0000.00716.60
7.4.220.0090.01316.48
7.4.210.0060.00816.52
7.4.200.0070.00016.51
7.4.160.0080.00816.45
7.4.150.0100.01017.40
7.4.140.0150.00517.86
7.4.130.0120.00616.58
7.4.120.0100.01016.48
7.4.110.0110.00716.51
7.4.100.0100.01016.29
7.4.90.0060.01516.57
7.4.80.0120.00619.39
7.4.70.0140.00816.52
7.4.60.0130.01016.47
7.4.50.0060.01016.40
7.4.40.0070.01416.59
7.4.30.0140.00316.66
7.4.00.0110.00315.12
7.3.330.0020.00213.28
7.3.320.0020.00313.15
7.3.310.0030.00616.27
7.3.300.0000.00716.36
7.3.290.0090.00816.26
7.3.280.0080.00816.29
7.3.270.0080.00817.40
7.3.260.0040.01916.21
7.3.240.0100.01016.35
7.3.230.0060.01016.48
7.3.210.0130.00716.37
7.3.200.0120.00916.49
7.3.190.0130.00416.34
7.3.180.0030.01216.22
7.3.170.0060.00916.27
7.3.160.0130.00316.35
7.2.330.0090.01216.32
7.2.320.0150.00816.20
7.2.310.0030.01616.50
7.2.300.0080.00816.63
7.2.290.0140.00316.37
7.2.60.0040.00716.59
7.2.00.0000.01219.39
7.1.200.0080.00415.50
7.1.100.0070.01018.16
7.1.70.0060.00917.06
7.1.60.0100.01419.13
7.1.50.0050.00516.93
7.1.00.0100.07022.36
7.0.200.0070.00316.47
7.0.60.0030.07319.91
7.0.50.0100.05017.88
7.0.40.0130.08020.23
7.0.30.0270.05720.28
7.0.20.0370.05320.06
7.0.10.0100.08320.19
7.0.00.0100.03720.34
5.6.280.0070.06721.10
5.6.210.0100.06020.68
5.6.200.0100.07718.15
5.6.190.0100.07720.39
5.6.180.0030.09020.61
5.6.170.0330.06020.39
5.6.160.0130.07720.57
5.6.150.0100.07718.11
5.6.140.0070.08018.19
5.6.130.0030.08318.18
5.6.120.0070.06320.98
5.6.110.0070.05721.10
5.6.100.0200.06021.14
5.6.90.0030.08320.98
5.6.80.0030.04020.43
5.5.350.3330.03020.44
5.5.340.0130.03018.08
5.5.330.0000.05320.27
5.5.320.0530.04720.51
5.5.310.0270.07320.34
5.5.300.0130.07318.03
5.5.290.0130.06017.99
5.5.280.0070.04320.79
5.5.270.0100.04320.87
5.5.260.0130.03020.68
5.5.250.0200.07320.57
5.5.240.0070.03720.16

preferences:
42.87 ms | 401 KiB | 5 Q