3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __call($name, $args) { var_dump('SUPER'); } } class Bar extends Foo { public function __call($name, $args) { $args_get = func_get_args(); $reflection = new ReflectionObject($this); $parentReflection = $reflection->getParentClass(); // call_user_func_array([$parentReflection->name, $name], $args); forward_static_call(['parent', $name], $args); } } $bar = (new Bar)->y(4,2);

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.0040.01116.63
8.3.50.0100.01121.95
8.3.40.0150.00618.89
8.3.30.0110.00318.93
8.3.20.0070.00020.38
8.3.10.0050.00221.90
8.3.00.0090.00019.38
8.2.180.0140.00718.29
8.2.170.0150.00618.96
8.2.160.0110.00422.96
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0110.00426.16
8.2.120.0080.00019.26
8.2.110.0110.00021.03
8.2.100.0070.00717.75
8.2.90.0000.00819.17
8.2.80.0050.00317.97
8.2.70.0070.00417.50
8.2.60.0040.00717.78
8.2.50.0060.00318.07
8.2.40.0000.00819.95
8.2.30.0050.00217.95
8.2.20.0040.00417.70
8.2.10.0050.00218.15
8.2.00.0070.00017.77
8.1.280.0120.00625.92
8.1.270.0150.00020.32
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0090.00022.10
8.1.230.0070.00317.53
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0000.00820.32
8.1.160.0040.00422.03
8.1.150.0000.00818.82
8.1.140.0000.00717.51
8.1.130.0000.00717.71
8.1.120.0040.00417.55
8.1.110.0040.00417.47
8.1.100.0030.00317.34
8.1.90.0050.00317.55
8.1.80.0040.00417.41
8.1.70.0000.00717.45
8.1.60.0030.00617.48
8.1.50.0080.00017.55
8.1.40.0040.00417.52
8.1.30.0030.00517.59
8.1.20.0040.00417.61
8.1.10.0040.00417.58
8.1.00.0060.00317.41
8.0.300.0050.00318.77
8.0.290.0000.00716.75
8.0.280.0040.00418.37
8.0.270.0030.00317.27
8.0.260.0000.00617.28
8.0.250.0000.00716.86
8.0.240.0000.00816.95
8.0.230.0000.01016.97
8.0.220.0000.00816.92
8.0.210.0000.00716.93
8.0.200.0070.00017.04
8.0.190.0000.00716.86
8.0.180.0080.00016.86
8.0.170.0040.00416.99
8.0.160.0080.00016.90
8.0.150.0050.00316.91
8.0.140.0030.00316.83
8.0.130.0000.00713.33
8.0.120.0070.00016.78
8.0.110.0040.00416.97
8.0.100.0000.00716.88
8.0.90.0050.00216.85
8.0.80.0090.00716.87
8.0.70.0040.00416.97
8.0.60.0040.00416.69
8.0.50.0040.00416.85
8.0.30.0150.00617.21
8.0.20.0100.01217.40
8.0.10.0000.00716.97
8.0.00.0110.00716.72
7.4.330.0020.00215.03
7.4.320.0000.00616.51
7.4.300.0000.00616.59
7.4.290.0030.00716.62
7.4.280.0000.00716.43
7.4.270.0000.00716.42
7.4.260.0040.00416.36
7.4.250.0040.00416.55
7.4.240.0040.00416.57
7.4.230.0030.00316.34
7.4.220.0090.01016.50
7.4.210.0060.00916.53
7.4.200.0030.00316.45
7.4.160.0100.00716.55
7.4.150.0130.00617.40
7.4.140.0050.01617.86
7.4.130.0130.00616.46
7.4.120.0120.00516.60
7.4.110.0130.00616.68
7.4.100.0150.00916.46
7.4.90.0030.01316.63
7.4.80.0160.00319.39
7.4.70.0120.00916.74
7.4.60.0110.00616.45
7.4.50.0000.00716.23
7.4.40.0090.00916.39
7.4.30.0130.00916.60
7.4.00.0050.01314.98
7.3.330.0030.00313.32
7.3.320.0130.00013.11
7.3.310.0000.00716.36
7.3.300.0040.00416.30
7.3.290.0090.00816.28
7.3.280.0060.01116.27
7.3.270.0070.01117.40
7.3.260.0070.01016.44
7.3.250.0140.00616.48
7.3.240.0160.00016.30
7.3.230.0080.00916.39
7.3.210.0050.01116.49
7.3.200.0080.01519.39
7.3.190.0060.00916.40
7.3.180.0100.01016.38
7.3.170.0130.00316.41
7.3.160.0110.00616.34
7.3.120.0120.00614.71
7.3.110.0070.00914.69
7.3.100.0040.00814.72
7.3.90.0070.00314.94
7.3.80.0050.00614.94
7.3.70.0030.01114.94
7.3.60.0050.01214.51
7.3.50.0010.00914.74
7.3.40.0070.00814.63
7.3.30.0060.00614.85
7.3.20.0090.00916.60
7.3.10.0040.00716.77
7.3.00.0130.00416.61
7.2.330.0100.00716.46
7.2.320.0030.01316.85
7.2.310.0140.00416.75
7.2.300.0090.01716.77
7.2.290.0120.00916.85
7.2.250.0030.01314.87
7.2.240.0090.01115.19
7.2.230.0080.01015.10
7.2.220.0070.00715.18
7.2.210.0050.01014.87
7.2.200.0040.00915.11
7.2.190.0020.01415.03
7.2.180.0070.00414.86
7.2.170.0060.00914.90
7.2.60.0070.00716.87
7.2.00.0000.01219.37
7.1.330.0100.00315.70
7.1.320.0050.01115.93
7.1.310.0070.00815.72
7.1.300.0080.00415.76
7.1.290.0020.01315.77
7.1.280.0030.01315.67
7.1.270.0070.00715.83
7.1.260.0030.01115.71
7.1.200.0040.00715.80
7.1.100.0070.01017.93
7.1.70.0030.00617.16
7.1.60.0160.00919.50
7.1.50.0100.01316.95
7.1.00.0070.07322.40
7.0.200.0570.00314.50
7.0.140.0030.04021.98
7.0.60.0130.06320.03
7.0.50.0100.06317.98
7.0.40.0100.06020.08
7.0.30.0270.07320.10
7.0.20.0230.05320.23
7.0.10.0270.06720.19
7.0.00.0130.05020.25
5.6.280.0100.09344.72
5.6.210.0300.07044.38
5.6.200.0370.08341.78
5.6.190.0030.10744.07
5.6.180.0300.04744.07
5.6.170.0370.05044.01
5.6.160.0130.06743.92
5.6.150.0070.05341.83
5.6.140.0200.09341.87
5.6.130.0200.09341.91
5.6.120.0230.09044.84
5.6.110.0100.05744.70
5.6.100.0200.09344.66
5.6.90.0200.09744.66
5.6.80.0230.09344.20
5.6.70.0300.07344.07
5.5.350.0330.05346.68
5.5.340.0070.10344.08
5.5.330.0170.06346.29
5.5.320.0130.05746.31
5.5.310.0470.07046.10
5.5.300.0100.08343.94
5.5.290.0130.09744.13
5.5.280.0200.07046.80
5.5.270.0170.08046.94
5.5.260.0100.05346.94
5.5.250.0070.11346.84
5.5.240.0130.10746.30
5.4.450.0370.08346.39
5.4.440.1070.10046.32
5.4.430.1370.10046.51
5.4.420.1470.08346.50
5.4.410.0500.10745.45
5.4.400.0770.10745.21
5.4.390.0530.09345.28
5.4.380.0700.07745.37
5.4.370.0770.11345.27
5.4.360.0870.10745.19
5.4.350.0770.12345.20
5.4.340.0800.08345.43
5.4.320.0730.10045.16
5.4.310.0600.12345.40
5.4.300.0770.10045.22
5.4.290.0770.10045.22
5.4.280.0630.09045.18
5.4.270.0730.08745.15
5.4.260.0900.10745.44
5.4.250.0770.09045.47
5.4.240.0670.09745.39
5.4.230.0700.09045.44
5.4.220.0730.08745.17
5.4.210.0670.10745.43
5.4.200.0800.10743.20
5.4.190.0870.10345.40
5.4.180.0670.12745.21
5.4.170.0430.10345.41
5.4.160.1270.09045.20
5.4.150.0800.11345.38
5.4.140.0630.12342.89
5.4.130.0830.08742.68
5.4.120.0700.07742.88
5.4.110.1100.08742.64
5.4.100.0730.05342.67
5.4.90.0670.08742.61
5.4.80.0800.11342.72
5.4.70.0900.10742.87
5.4.60.0870.08742.63
5.4.50.0670.09042.74
5.4.40.0670.09742.87
5.4.30.0600.10042.71
5.4.20.0730.10742.70
5.4.10.0500.11342.71
5.4.00.0670.09342.12
5.3.290.0570.06314.72
5.3.280.0400.06014.65
5.3.270.0430.07714.64
5.3.260.0400.07014.77
5.3.250.0500.06014.61
5.3.240.0370.07014.59
5.3.230.0400.06714.59
5.3.220.0430.05714.63
5.3.210.0370.05714.60
5.3.200.0430.05314.70
5.3.190.0470.06714.77
5.3.180.0500.06314.77
5.3.170.0530.06314.75
5.3.160.0300.06014.66
5.3.150.0430.06014.71
5.3.140.0400.07014.58
5.3.130.0300.06314.55
5.3.120.0270.06714.55
5.3.110.0230.06314.55
5.3.100.0400.07014.10
5.3.90.0400.06314.25
5.3.80.0270.06714.24
5.3.70.0470.06314.18
5.3.60.0230.07013.99
5.3.50.0270.06013.97
5.3.40.0530.06013.95
5.3.30.0370.05713.95
5.3.20.0330.04713.77
5.3.10.0330.07013.84
5.3.00.0530.07313.64
5.2.170.0230.05311.27
5.2.160.0370.04011.20
5.2.150.0270.06011.20
5.2.140.0330.04711.18
5.2.130.0200.05311.14
5.2.120.0270.04311.14
5.2.110.0370.04011.23
5.2.100.0430.03711.14
5.2.90.0230.05011.12
5.2.80.0200.04711.14
5.2.70.0270.03711.21
5.2.60.0130.05711.16
5.2.50.0270.04711.13
5.2.40.0230.03711.04
5.2.30.0230.04311.18
5.2.20.0200.04010.95
5.2.10.0270.04011.00
5.2.00.0270.04710.82
5.1.60.0200.03710.04
5.1.50.0170.05010.02
5.1.40.0230.05010.05
5.1.30.0270.03710.55
5.1.20.0300.04010.54
5.1.10.0230.04310.18
5.1.00.0230.04010.12
5.0.50.0170.0338.58
5.0.40.0200.0238.43
5.0.30.0170.0438.33
5.0.20.0100.0378.30
5.0.10.0270.0308.16
5.0.00.0200.0408.21
4.4.90.0130.0236.02
4.4.80.0200.0235.89
4.4.70.0100.0275.98
4.4.60.0230.0205.90
4.4.50.0170.0305.93
4.4.40.0170.0375.95
4.4.30.0130.0205.88
4.4.20.0100.0305.93
4.4.10.0130.0275.93
4.4.00.0200.0375.96
4.3.110.0130.0235.94
4.3.100.0130.0235.81
4.3.90.0170.0235.88
4.3.80.0200.0405.81
4.3.70.0100.0275.83
4.3.60.0070.0275.79
4.3.50.0100.0275.81
4.3.40.0130.0405.77
4.3.30.0170.0235.35
4.3.20.0100.0235.35
4.3.10.0030.0375.35
4.3.00.0070.0176.80

preferences:
59.57 ms | 401 KiB | 5 Q