3v4l.org

run code in 300+ PHP versions simultaneously
<?php class HasSuper { private $parentMethod; final protected function super(... $args) { parent::$this->parentMethod(...$args); } 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(); } } $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.0070.01416.50
8.3.50.0070.00718.17
8.3.40.0040.01118.71
8.3.30.0070.00718.43
8.3.20.0050.00220.24
8.3.10.0050.00220.21
8.3.00.0040.00423.67
8.2.180.0120.00618.29
8.2.170.0170.00322.96
8.2.160.0070.00720.52
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00020.27
8.2.120.0050.00326.35
8.2.110.0060.00320.93
8.2.100.0090.00317.97
8.2.90.0070.00019.09
8.2.80.0080.00017.97
8.2.70.0040.00417.50
8.2.60.0040.00417.90
8.2.50.0080.00018.10
8.2.40.0020.00520.55
8.2.30.0030.00519.13
8.2.20.0000.00817.81
8.2.10.0030.00617.91
8.2.00.0070.00017.98
8.1.280.0100.01025.92
8.1.270.0040.00422.05
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0060.00324.00
8.1.230.0000.01019.20
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0060.00317.22
8.1.190.0040.00417.09
8.1.180.0040.00418.10
8.1.170.0040.00418.43
8.1.160.0040.00418.81
8.1.150.0000.00720.26
8.1.140.0000.00819.30
8.1.130.0000.00618.88
8.1.120.0000.00817.23
8.1.110.0000.01017.34
8.1.100.0040.00417.32
8.1.90.0000.00817.38
8.1.80.0030.00617.25
8.1.70.0080.00017.32
8.1.60.0040.00417.33
8.1.50.0040.00417.42
8.1.40.0030.00617.45
8.1.30.0000.00817.52
8.1.20.0070.00017.40
8.1.10.0040.00417.33
8.1.00.0000.00917.31
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00818.21
8.0.270.0070.00017.11
8.0.260.0000.00617.12
8.0.250.0000.00716.86
8.0.240.0030.00316.87
8.0.230.0070.00316.90
8.0.220.0000.00716.81
8.0.210.0000.00716.83
8.0.200.0040.00416.84
8.0.190.0040.00416.86
8.0.180.0050.00216.90
8.0.170.0000.00716.86
8.0.160.0030.00616.72
8.0.150.0000.00716.71
8.0.140.0000.00916.71
8.0.130.0000.00613.30
8.0.120.0030.00516.74
8.0.110.0070.00016.59
8.0.100.0000.00716.70
8.0.90.0040.00416.82
8.0.80.0170.00316.77
8.0.70.0030.00516.68
8.0.60.0000.00716.66
8.0.50.0040.00416.92
8.0.30.0110.00916.97
8.0.20.0070.01317.40
8.0.10.0050.00216.91
8.0.00.0120.00616.50
7.4.330.0060.00015.55
7.4.320.0000.00616.56
7.4.300.0030.00316.51
7.4.290.0030.00316.49
7.4.280.0000.00716.59
7.4.270.0040.00416.51
7.4.260.0000.00816.38
7.4.250.0000.00716.50
7.4.240.0030.00616.57
7.4.230.0070.00016.70
7.4.220.0070.01016.55
7.4.210.0000.02116.54
7.4.200.0070.00016.53
7.4.160.0080.00816.49
7.4.150.0130.00717.40
7.4.140.0130.00817.86
7.4.130.0110.00616.49
7.4.120.0090.01116.65
7.4.110.0100.00716.47
7.4.100.0100.00916.43
7.4.90.0140.00416.44
7.4.80.0110.00619.39
7.4.70.0150.00716.30
7.4.60.0150.00016.41
7.4.50.0000.01016.37
7.4.40.0100.00716.54
7.4.30.0100.01016.53
7.4.10.0090.00914.77
7.4.00.0050.01114.83
7.3.330.0050.00313.32
7.3.320.0000.00613.36
7.3.310.0030.00316.44
7.3.300.0030.00316.40
7.3.290.0090.00616.33
7.3.280.0060.01216.34
7.3.270.0070.01017.40
7.3.260.0110.00716.34
7.3.250.0100.00816.30
7.3.240.0110.00916.37
7.3.230.0070.01016.46
7.3.210.0060.01116.46
7.3.200.0040.01916.26
7.3.190.0130.00316.27
7.3.180.0140.00716.59
7.3.170.0090.01016.39
7.3.160.0030.01516.42
7.3.130.0060.00914.77
7.3.120.0040.01514.88
7.3.110.0040.01415.01
7.3.100.0060.00614.79
7.3.90.0030.00714.79
7.3.80.0090.00614.82
7.3.70.0140.00014.61
7.3.60.0050.00814.63
7.3.50.0100.00714.69
7.3.40.0070.00714.82
7.3.30.0070.01114.95
7.3.20.0030.00716.34
7.3.10.0120.00416.29
7.3.00.0060.01216.28
7.2.330.0060.01216.58
7.2.320.0100.00716.88
7.2.310.0090.00916.82
7.2.300.0150.00816.70
7.2.290.0180.00316.64
7.2.260.0060.01314.66
7.2.250.0100.00314.86
7.2.240.0120.00315.12
7.2.230.0100.01014.96
7.2.220.0100.00714.98
7.2.210.0030.01014.84
7.2.200.0100.00614.77
7.2.190.0040.01114.94
7.2.180.0000.01314.92
7.2.170.0070.01015.03
7.2.160.0080.00815.08
7.2.150.0060.00616.79
7.2.140.0060.00916.68
7.2.130.0080.01016.63
7.2.120.0120.00616.64
7.2.110.0100.00716.65
7.2.100.0030.01316.56
7.2.90.0070.00716.52
7.2.80.0090.00616.51
7.2.70.0070.00616.60
7.2.60.0030.01016.60
7.2.50.0040.01216.56
7.2.40.0070.00716.54
7.2.30.0020.00816.51
7.2.20.0020.01016.54
7.2.10.0070.00716.61
7.2.00.0060.00617.62
7.1.330.0100.00315.63
7.1.320.0070.01015.71
7.1.310.0030.01215.68
7.1.300.0000.00915.48
7.1.290.0000.01615.71
7.1.280.0110.00715.35
7.1.270.0040.00815.57
7.1.260.0000.01715.65
7.1.250.0130.00615.33
7.1.240.0060.00715.48
7.1.230.0100.00315.34
7.1.220.0030.01315.51
7.1.210.0070.00715.70
7.1.200.0050.00515.70
7.1.190.0070.00715.63
7.1.180.0070.00715.62
7.1.170.0030.01315.53
7.1.160.0030.01015.25
7.1.150.0030.00615.46
7.1.140.0060.00615.70
7.1.130.0060.00315.43
7.1.120.0030.01015.56
7.1.110.0140.00315.62
7.1.100.0040.00415.76
7.1.90.0100.00715.39
7.1.80.0030.01115.70
7.1.70.0010.00816.40
7.1.60.0030.00916.42
7.1.50.0190.00916.19
7.1.40.0040.01115.54
7.1.30.0470.03325.91
7.1.20.0420.03626.13
7.1.10.0530.03217.90
7.1.00.0430.03218.16
7.0.330.0040.01215.22
7.0.320.0030.01015.29
7.0.310.0100.00315.42
7.0.300.0040.00815.12
7.0.290.0030.00915.24
7.0.280.0000.01215.15
7.0.270.0060.00615.29
7.0.260.0110.00315.44
7.0.250.0080.00015.25
7.0.240.0070.00715.31
7.0.230.0090.00615.38
7.0.220.0030.01015.25
7.0.210.0000.01415.14
7.0.200.0090.00616.01
7.0.190.0070.01015.27
7.0.180.0000.01215.21
7.0.170.0450.03217.69
7.0.160.0470.03317.61
7.0.150.0430.03317.70
7.0.140.0530.02617.79
7.0.130.0390.03417.74
7.0.120.0390.03217.74
7.0.110.0500.02917.76
7.0.100.0450.02917.80
7.0.90.0580.03317.65
7.0.80.0450.03317.84
7.0.70.0510.03217.55
7.0.60.0590.03517.76
7.0.50.0970.03717.52
7.0.40.0520.03216.71
7.0.30.0480.03216.76
7.0.20.0470.03416.60
7.0.10.0480.03216.61
7.0.00.0470.03216.63
5.6.400.0100.00314.43
5.6.390.0070.00714.09
5.6.380.0160.00014.06
5.6.370.0000.00814.10
5.6.360.0040.01414.38
5.6.350.0000.01514.21
5.6.340.0030.00814.06
5.6.330.0100.00014.54
5.6.320.0070.00714.34
5.6.310.0070.00714.46
5.6.300.0000.01614.58
5.6.290.0060.00914.27
5.6.280.0070.00714.14
5.6.270.0030.00913.99
5.6.260.0030.01014.21
5.6.250.0040.00814.24
5.6.240.0040.01114.20
5.6.230.0040.00814.08
5.6.220.0040.00814.10
5.6.210.0070.00714.14
5.6.200.0040.01114.11
5.6.190.0000.01314.42
5.6.180.0110.00314.38
5.6.170.0030.00914.23
5.6.160.0130.00314.53
5.6.150.0090.00314.35
5.6.140.0060.00914.35
5.6.130.0030.01014.37
5.6.120.0040.00714.52
5.6.110.0060.00914.59
5.6.100.0000.01414.19
5.6.90.0070.00714.39
5.6.80.0070.00714.05
5.6.70.0030.00813.93
5.6.60.0070.01114.37
5.6.50.0030.00614.27
5.6.40.0030.00714.28
5.6.30.0030.00614.00
5.6.20.0090.00614.06
5.6.10.0070.00714.11
5.6.00.0000.00914.17

preferences:
56.01 ms | 401 KiB | 5 Q