3v4l.org

run code in 300+ PHP versions simultaneously
<?php class HasSuper { private $parentMethod; protected function super(... $args) { parent::$this->parentMethod(...$args); //It's out of scope } final public function __call($method, $arguments) { $this->parentMethod = $method; } } class Foo extends HasSuper { public function hello() { echo("Hello World!"); } } class Bar extends Foo { public function hello() { $this->super(); //How can it access Foo::hello() ? } } $bar = new Bar; $bar->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.0140.00416.63
8.3.50.0120.00618.18
8.3.40.0120.00318.84
8.3.30.0070.00718.65
8.3.20.0080.00020.39
8.3.10.0040.00420.09
8.3.00.0000.00823.61
8.2.180.0110.00718.41
8.2.170.0090.00622.96
8.2.160.0140.00020.49
8.2.150.0000.00824.18
8.2.140.0060.01324.66
8.2.130.0030.00620.52
8.2.120.0040.00426.35
8.2.110.0030.00721.12
8.2.100.0040.00817.97
8.2.90.0040.00419.05
8.2.80.0000.00817.97
8.2.70.0080.00017.50
8.2.60.0080.00017.80
8.2.50.0050.00318.10
8.2.40.0030.00620.59
8.2.30.0080.00019.25
8.2.20.0050.00317.84
8.2.10.0000.00717.80
8.2.00.0000.00718.12
8.1.280.0110.01125.92
8.1.270.0000.00822.20
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00623.82
8.1.230.0090.00319.02
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.01017.23
8.1.190.0060.00317.23
8.1.180.0070.00018.10
8.1.170.0070.00018.46
8.1.160.0040.00418.74
8.1.150.0000.00720.16
8.1.140.0000.00719.31
8.1.130.0000.00818.84
8.1.120.0030.00417.35
8.1.110.0060.00317.16
8.1.100.0040.00417.22
8.1.90.0000.00717.39
8.1.80.0000.00817.30
8.1.70.0040.00417.34
8.1.60.0040.00417.28
8.1.50.0030.00617.27
8.1.40.0060.00317.29
8.1.30.0000.00817.54
8.1.20.0060.00317.45
8.1.10.0030.00517.40
8.1.00.0080.00017.34
8.0.300.0050.00218.77
8.0.290.0040.00416.63
8.0.280.0040.00418.35
8.0.270.0040.00417.10
8.0.260.0000.00817.12
8.0.250.0030.00516.87
8.0.240.0040.00416.85
8.0.230.0030.00616.79
8.0.220.0030.00316.85
8.0.210.0030.00516.69
8.0.200.0040.00416.93
8.0.190.0040.00416.86
8.0.180.0000.00716.75
8.0.170.0040.00416.82
8.0.160.0040.00416.84
8.0.150.0070.00316.64
8.0.140.0030.00616.78
8.0.130.0000.00613.23
8.0.120.0040.00416.74
8.0.110.0070.00016.84
8.0.100.0050.00216.76
8.0.90.0070.00016.71
8.0.80.0040.01216.77
8.0.70.0000.00816.77
8.0.60.0000.00716.80
8.0.50.0000.00716.84
8.0.30.0120.00516.87
8.0.20.0100.00917.40
8.0.10.0000.00716.91
8.0.00.0070.01016.37
7.4.330.0050.00015.55
7.4.320.0030.00316.42
7.4.300.0030.00316.49
7.4.290.0000.00716.61
7.4.280.0000.00716.53
7.4.270.0040.00416.61
7.4.260.0000.00716.48
7.4.250.0000.00716.39
7.4.240.0060.00316.52
7.4.230.0030.00316.53
7.4.220.0100.00716.58
7.4.210.0030.01316.62
7.4.200.0000.00716.70
7.4.160.0090.00916.47
7.4.150.0090.00917.40
7.4.140.0070.01317.86
7.4.130.0110.00816.62
7.4.120.0100.01116.48
7.4.110.0100.00716.68
7.4.100.0110.00616.79
7.4.90.0000.01616.57
7.4.80.0120.01219.39
7.4.70.0150.00916.70
7.4.60.0140.00716.40
7.4.50.0000.01116.37
7.4.40.0110.01116.54
7.4.30.0070.01116.30
7.4.00.0100.00614.93
7.3.330.0000.00813.36
7.3.320.0000.00513.18
7.3.310.0030.00316.35
7.3.300.0000.00716.42
7.3.290.0060.00816.35
7.3.280.0100.00916.40
7.3.270.0140.00317.40
7.3.260.0090.00916.62
7.3.250.0070.01216.29
7.3.240.0080.01016.52
7.3.230.0130.01016.39
7.3.210.0080.01616.64
7.3.200.0040.01116.48
7.3.190.0130.00316.39
7.3.180.0120.00916.41
7.3.170.0030.00416.38
7.3.160.0040.01216.29
7.2.330.0100.01016.69
7.2.320.0030.01416.73
7.2.310.0030.01316.41
7.2.300.0140.00916.81
7.2.290.0070.01316.58
7.2.60.0240.01116.61
7.2.50.0040.00416.86
7.2.00.0030.00919.46
7.1.200.0030.00615.37
7.1.70.0100.00716.90
7.1.60.0130.00316.95
7.1.50.0100.01416.82
7.1.30.1030.07036.51
7.1.20.1330.06736.38
7.1.10.0900.06020.43
7.1.00.0730.06320.62
7.0.200.0040.01216.76
7.0.170.1000.05320.07
7.0.160.1200.06720.10
7.0.150.0930.06720.08
7.0.140.0700.06720.04
7.0.130.0800.06720.14
7.0.120.1270.06020.13
7.0.110.0630.06720.02
7.0.100.0870.05720.11
7.0.90.0630.06020.13
7.0.80.0670.05020.12
7.0.70.0670.05720.14
7.0.60.0730.06019.85
7.0.50.0930.06020.14
7.0.40.0670.07020.11
7.0.30.0670.07020.04
7.0.20.0970.06020.04
7.0.10.0800.07019.95
7.0.00.1170.04319.96

preferences:
55.48 ms | 401 KiB | 5 Q