3v4l.org

run code in 300+ PHP versions simultaneously
<?php class NotFinal { protected function hello($string = '' ) { echo 'hello'; } } final class ThisIsFinal extends NotFinal { public function hello(array $witharg) { return parent::hello(); } } $class = new ThisIsFinal(); $class->hello();

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.0110.00416.63
8.3.50.0150.00318.05
8.3.40.0100.01018.68
8.3.30.0170.00718.55
8.3.20.0000.00720.21
8.3.10.0000.00723.52
8.3.00.0000.00819.25
8.2.180.0120.00316.38
8.2.170.0150.00022.96
8.2.160.0070.00720.49
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00417.50
8.2.120.0080.00026.35
8.2.110.0100.00720.53
8.2.100.0120.00017.91
8.2.90.0040.00418.92
8.2.80.0050.00317.97
8.2.70.0070.00317.13
8.2.60.0000.00817.68
8.2.50.0030.00618.07
8.2.40.0000.00919.34
8.2.30.0000.00720.61
8.2.20.0000.00817.47
8.2.10.0040.00417.97
8.2.00.0030.00517.95
8.1.280.0140.00725.92
8.1.270.0030.00723.84
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00322.32
8.1.230.0080.00317.42
8.1.220.0000.00917.74
8.1.210.0030.00618.77
8.1.200.0030.00617.23
8.1.190.0000.00717.58
8.1.180.0080.00018.10
8.1.170.0030.00518.46
8.1.160.0040.00421.81
8.1.150.0040.00418.74
8.1.140.0030.00519.32
8.1.130.0060.00317.48
8.1.120.0070.00017.34
8.1.110.0040.00417.32
8.1.100.0040.00417.34
8.1.90.0070.00017.29
8.1.80.0000.00917.21
8.1.70.0030.00517.30
8.1.60.0000.00717.34
8.1.50.0100.00017.39
8.1.40.0000.00717.38
8.1.30.0040.00417.59
8.1.20.0040.00417.45
8.1.10.0040.00417.38
8.1.00.0040.00717.32
8.0.300.0070.00018.77
8.0.290.0070.00016.63
8.0.280.0030.00318.18
8.0.270.0030.00317.01
8.0.260.0000.00617.00
8.0.250.0000.00716.77
8.0.240.0050.00316.88
8.0.230.0040.00316.88
8.0.220.0040.00416.68
8.0.210.0000.00716.73
8.0.200.0060.00016.87
8.0.190.0050.00216.79
8.0.180.0050.00316.79
8.0.170.0020.00516.86
8.0.160.0070.00016.75
8.0.150.0030.00316.86
8.0.140.0000.00816.77
8.0.130.0060.00013.28
8.0.120.0030.00516.78
8.0.110.0040.00416.80
8.0.100.0040.00416.67
8.0.90.0050.00216.92
8.0.80.0110.01116.77
8.0.70.0000.00716.80
8.0.60.0030.00516.77
8.0.50.0030.00516.68
8.0.30.0060.01216.96
8.0.20.0100.01217.40
8.0.10.0000.00716.95
8.0.00.0080.01016.71
7.4.330.0050.00016.79
7.4.320.0040.00416.48
7.4.300.0030.00316.60
7.4.290.0040.00416.61
7.4.280.0080.00016.61
7.4.270.0000.00716.39
7.4.260.0040.00416.55
7.4.250.0080.00016.54
7.4.240.0020.00516.52
7.4.230.0000.00716.46
7.4.220.0110.01116.68
7.4.210.0140.00316.54
7.4.200.0000.00816.57
7.4.160.0130.00516.61
7.4.150.0110.00717.40
7.4.140.0100.00817.86
7.4.130.0080.01416.50
7.4.120.0120.00616.49
7.4.110.0170.00016.47
7.4.100.0030.01316.67
7.4.90.0120.00616.51
7.4.80.0030.02019.39
7.4.70.0120.00416.48
7.4.60.0070.00716.63
7.4.50.0060.01216.63
7.4.40.0130.00416.41
7.4.30.0060.01216.67
7.4.00.0100.00715.03
7.3.330.0000.00613.32
7.3.320.0050.00013.34
7.3.310.0040.00316.39
7.3.300.0000.00716.37
7.3.290.0060.01016.35
7.3.280.0110.00716.43
7.3.270.0070.01017.40
7.3.260.0030.01416.39
7.3.250.0130.00516.40
7.3.240.0090.00816.34
7.3.230.0060.01316.41
7.3.210.0060.01216.45
7.3.200.0030.01316.35
7.3.190.0130.00416.34
7.3.180.0000.01516.59
7.3.170.0150.00316.40
7.3.160.0070.01416.31
7.2.330.0090.00916.58
7.2.320.0110.01116.41
7.2.310.0090.00916.53
7.2.300.0100.01016.65
7.2.290.0030.01316.36
7.2.60.0060.00616.65
7.2.00.0050.00819.40
7.1.200.0000.01115.39
7.1.100.0110.00018.12
7.1.70.0120.00417.08
7.1.60.0100.01019.36
7.1.50.0090.00316.59
7.1.00.0070.07322.27
7.0.200.0000.00816.61
7.0.60.0030.06319.76
7.0.50.0100.04317.98
7.0.40.0000.05720.13
7.0.30.0230.04320.33
7.0.20.0270.05720.24
7.0.10.0030.09020.10
7.0.00.0100.07720.19
5.6.280.0000.03721.13
5.6.210.0130.08020.78
5.6.200.0230.04718.18
5.6.190.0100.04020.50
5.6.180.0470.04720.42
5.6.170.0300.07320.51
5.6.160.0200.07020.50
5.6.150.0000.08718.16
5.6.140.0070.04718.18
5.6.130.0070.08018.15
5.6.120.0170.07721.02
5.6.110.0000.04721.00
5.6.100.0070.08320.98
5.6.90.0070.08021.13
5.6.80.0100.03320.38
5.5.350.0200.07320.43
5.5.340.0030.03718.09
5.5.330.0070.04020.47
5.5.320.0130.07320.24
5.5.310.0330.04020.27
5.5.300.0100.08317.98
5.5.290.0100.08317.98
5.5.280.0130.07720.77
5.5.270.0070.03720.76
5.5.260.0030.06020.89
5.5.250.0070.08320.69
5.5.240.0300.06720.16

preferences:
56.7 ms | 400 KiB | 5 Q