3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function foo( $foo ) { var_dump( func_get_args() ); } } class B extends A { public function foo( $foo ) { $args = func_get_args(); call_user_func_array( array( $this, 'parent::foo' ), $args ); } } $b = new B(); $b->foo( 'a', 'b', 'c' );

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.4.20.0060.01317.84
8.4.10.0090.00019.70
8.3.150.0000.01817.10
8.3.140.0090.00918.64
8.3.130.0040.00416.61
8.3.120.0060.00318.82
8.3.110.0000.01020.94
8.3.100.0060.00324.06
8.3.90.0120.00326.77
8.3.80.0040.01116.36
8.3.70.0130.00616.62
8.3.60.0140.00316.88
8.3.50.0120.00922.84
8.3.40.0160.00018.90
8.3.30.0040.01118.54
8.3.20.0020.00521.64
8.3.10.0000.00721.89
8.3.00.0040.00418.16
8.2.260.0120.00618.87
8.2.250.0000.00816.71
8.2.240.0080.00818.61
8.2.230.0030.00622.58
8.2.220.0040.00837.54
8.2.210.0000.00826.77
8.2.200.0060.00316.63
8.2.190.0090.00616.75
8.2.180.0070.01518.22
8.2.170.0170.00322.96
8.2.160.0070.00720.47
8.2.150.0080.00024.18
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0120.00320.88
8.2.110.0060.00320.93
8.2.100.0090.00317.84
8.2.90.0060.00319.20
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0040.00417.80
8.2.50.0050.00319.15
8.2.40.0040.00420.61
8.2.30.0080.00019.25
8.2.20.0050.00217.56
8.2.10.0040.00418.06
8.2.00.0070.00017.92
8.1.310.0040.00416.84
8.1.300.0050.00318.29
8.1.290.0000.01030.84
8.1.280.0090.00625.92
8.1.270.0040.00424.66
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0090.00023.96
8.1.230.0080.00317.54
8.1.220.0040.00417.74
8.1.210.0030.00718.77
8.1.200.0070.00317.48
8.1.190.0000.00817.35
8.1.180.0080.00018.10
8.1.170.0040.00418.46
8.1.160.0070.00022.06
8.1.150.0050.00320.80
8.1.140.0070.00319.57
8.1.130.0030.00317.64
8.1.120.0030.00317.51
8.1.110.0050.00317.52
8.1.100.0040.00417.37
8.1.90.0000.00817.34
8.1.80.0040.00417.44
8.1.70.0040.00417.48
8.1.60.0040.00417.62
8.1.50.0000.00917.55
8.1.40.0000.00917.42
8.1.30.0040.00417.68
8.1.20.0040.00417.68
8.1.10.0040.00417.52
8.1.00.0050.00217.57
8.0.300.0000.00718.77
8.0.290.0030.00616.75
8.0.280.0000.00718.36
8.0.270.0080.00017.13
8.0.260.0030.00317.30
8.0.250.0000.00616.86
8.0.240.0030.00316.96
8.0.230.0040.00416.97
8.0.220.0000.00716.94
8.0.210.0000.00716.86
8.0.200.0040.00416.86
8.0.190.0040.00416.84
8.0.180.0040.00416.80
8.0.170.0000.00716.82
8.0.160.0070.00016.89
8.0.150.0000.00716.73
8.0.140.0100.00016.79
8.0.130.0000.00613.34
8.0.120.0090.00016.84
8.0.110.0000.00716.68
8.0.100.0080.00016.67
8.0.90.0040.00416.82
8.0.80.0130.00316.79
8.0.70.0070.00016.69
8.0.60.0070.00016.78
8.0.50.0000.00716.80
8.0.30.0150.00716.82
8.0.20.0120.00717.40
8.0.10.0050.00216.83
8.0.00.0120.00816.87
7.4.330.0020.00215.08
7.4.320.0030.00316.53
7.4.300.0000.00616.59
7.4.290.0080.00016.52
7.4.280.0040.00416.59
7.4.270.0040.00416.62
7.4.260.0000.00716.56
7.4.250.0000.00716.56
7.4.240.0070.00016.60
7.4.230.0080.00016.39
7.4.220.0090.00916.69
7.4.210.0070.00716.52
7.4.200.0030.00316.41
7.4.160.0090.00616.43
7.4.150.0110.00717.40
7.4.140.0140.00817.86
7.4.130.0090.01016.48
7.4.120.0090.01116.59
7.4.110.0140.00316.46
7.4.100.0150.00316.46
7.4.90.0060.01216.50
7.4.80.0090.00919.39
7.4.70.0030.01416.49
7.4.60.0070.01016.50
7.4.50.0120.00316.15
7.4.40.0130.00316.47
7.4.30.0160.00616.53
7.4.00.0070.00714.70
7.3.330.0000.00513.04
7.3.320.0060.00013.14
7.3.310.0070.00016.26
7.3.300.0070.00016.25
7.3.290.0050.00916.32
7.3.280.0090.00916.32
7.3.270.0070.01117.40
7.3.260.0090.00916.40
7.3.250.0100.00816.37
7.3.240.0140.00516.50
7.3.230.0040.01316.39
7.3.210.0170.00016.23
7.3.200.0030.01416.31
7.3.190.0030.01216.47
7.3.180.0130.00316.35
7.3.170.0170.00016.32
7.3.160.0100.01316.54
7.2.330.0070.01016.86
7.2.320.0110.01116.59
7.2.310.0070.01016.40
7.2.300.0060.00916.60
7.2.290.0120.00616.77
7.2.60.0100.00616.89
7.1.200.0060.00915.87
7.1.70.0100.00317.02
7.1.60.0080.00419.75
7.1.00.0070.07722.35
7.0.200.0060.00316.28
7.0.90.0430.05320.18
7.0.80.0370.05019.91
7.0.70.0270.06020.02
7.0.60.0470.06019.84
7.0.50.0270.06320.43
7.0.40.0330.07720.32
7.0.30.0370.07720.40
7.0.20.0430.08020.34
7.0.10.0370.05720.31
7.0.00.0300.07020.26
5.6.240.0130.05720.76
5.6.230.0130.05320.63
5.6.220.0130.06020.70
5.6.210.0230.05020.66
5.6.200.0130.07321.18
5.6.190.0170.05321.07
5.6.180.0130.08021.18
5.6.170.0170.07321.16
5.6.160.0070.06321.11
5.6.150.0030.06321.18
5.6.140.0130.06021.08
5.6.130.0170.05321.02
5.6.120.0070.07021.03
5.6.110.0130.06021.17
5.6.100.0070.06321.11
5.6.90.0100.06321.05
5.6.80.0030.06320.50
5.6.70.0070.05720.46
5.6.60.0170.04720.45
5.6.50.0170.05320.48
5.6.40.0100.08020.36
5.6.30.0170.06720.45
5.6.20.0170.05020.45
5.6.10.0200.04720.43
5.6.00.0130.05720.43
5.5.380.0130.06020.54
5.5.370.0100.05320.43
5.5.360.0030.06320.54
5.5.350.0070.06020.53
5.5.340.0070.06320.91
5.5.330.0200.06020.93
5.5.320.0170.06020.88
5.5.310.0270.05720.93
5.5.300.0170.07020.94
5.5.290.0200.07320.96
5.5.280.0070.06720.84
5.5.270.0070.06720.77
5.5.260.0170.05020.89
5.5.250.0170.05320.74
5.5.240.0200.04720.35
5.5.230.0070.05720.32
5.5.220.0070.06020.34
5.5.210.0170.04720.29
5.5.200.0070.06320.29
5.5.190.0170.05720.30
5.5.180.0130.05720.33
5.5.160.0170.05320.29
5.5.150.0100.06320.27
5.5.140.0100.06020.21
5.5.130.0100.06720.27
5.5.120.0130.05720.23
5.5.110.0170.07320.01
5.5.100.0270.06320.02
5.5.90.0130.05720.09
5.5.80.0070.06020.23
5.5.70.0170.07720.13
5.5.60.0030.06020.14
5.5.50.0100.07020.13
5.5.40.0100.05320.11
5.5.30.0100.05320.21
5.5.20.0130.05720.17
5.5.10.0070.06020.03
5.5.00.0130.05720.17
5.4.450.0200.07019.41
5.4.440.0070.06319.25
5.4.430.0070.06319.22
5.4.420.0130.05019.52
5.4.410.0170.05719.27
5.4.400.0200.05019.19
5.4.390.0000.06019.20
5.4.380.0100.05018.90
5.4.370.0100.05019.19
5.4.360.0130.05019.27
5.4.350.0100.05319.19
5.4.340.0100.05719.20
5.4.320.0070.07019.17
5.4.310.0130.06019.18
5.4.300.0130.07018.93
5.4.290.0130.05319.08
5.4.280.0170.05319.27
5.4.270.0030.08019.18
5.4.260.0130.05719.18
5.4.250.0130.05319.20
5.4.240.0130.07719.05
5.4.230.0070.07719.18
5.4.220.0100.08019.07
5.4.210.0130.06019.13
5.4.200.0070.05319.16
5.4.190.0030.07019.18
5.4.180.0070.05319.16
5.4.170.0130.04719.03
5.4.160.0100.05019.22
5.4.150.0070.05719.07
5.4.140.0030.06016.60
5.4.130.0000.05316.39
5.4.120.0130.05016.58
5.4.110.0230.04316.34
5.4.100.0200.04316.33
5.4.90.0030.05316.61
5.4.80.0100.05016.64
5.4.70.0070.05016.51
5.4.60.0130.04716.59
5.4.50.0170.04316.45
5.4.40.0130.05016.50
5.4.30.0070.05316.39
5.4.20.0100.04716.39
5.4.10.0130.04716.54
5.4.00.0070.05315.81
5.3.290.0100.05714.68
5.3.280.0130.07014.59
5.3.270.0100.05714.58
5.3.260.0100.05314.75
5.3.250.0130.04714.64
5.3.240.0070.05314.57
5.3.230.0070.05014.59
5.3.220.0100.04714.55
5.3.210.0000.06014.70
5.3.200.0170.04314.55
5.3.190.0170.04314.70
5.3.180.0050.05514.57
5.3.170.0030.05314.57
5.3.160.0000.06014.69
5.3.150.0170.06314.58
5.3.140.0130.04714.56
5.3.130.0100.05014.53
5.3.120.0130.05014.54
5.3.110.0130.05314.57
5.3.100.0100.04714.04
5.3.90.0030.05314.01
5.3.80.0130.06014.16
5.3.70.0070.05313.93
5.3.60.0100.06014.01
5.3.50.0070.05713.93
5.3.40.0000.06013.97
5.3.30.0170.04313.94
5.3.20.0100.04713.82
5.3.10.0130.04713.65
5.3.00.0070.05313.63
5.2.170.0070.04311.21
5.2.160.0070.04711.14
5.2.150.0030.04711.14
5.2.140.0100.04311.05
5.2.130.0070.04011.10
5.2.120.0130.03711.08
5.2.110.0030.05311.08
5.2.100.0030.04011.11
5.2.90.0130.03311.11
5.2.80.0030.04311.11
5.2.70.0030.04311.12
5.2.60.0070.05011.06
5.2.50.0070.04011.05
5.2.40.0100.03311.03
5.2.30.0070.04011.00
5.2.20.0130.03010.96
5.2.10.0030.04011.00
5.2.00.0030.04010.59
5.1.60.0130.03310.00
5.1.50.0070.03310.04
5.1.40.0130.0279.98
5.1.30.0070.03310.25
5.1.20.0070.03310.36
5.1.10.0070.03310.07
5.1.00.0070.03310.06
5.0.50.0030.0308.55
5.0.40.0070.0238.45
5.0.30.0000.0438.21
5.0.20.0030.0278.27
5.0.10.0100.0238.17
5.0.00.0000.0438.19
4.4.90.0030.0205.81
4.4.80.0070.0205.83
4.4.70.0000.0235.80
4.4.60.0000.0235.87
4.4.50.0030.0205.88
4.4.40.0100.0275.82
4.4.30.0070.0205.83
4.4.20.0030.0235.88
4.4.10.0000.0235.93
4.4.00.0030.0335.85
4.3.110.0000.0235.76
4.3.100.0100.0135.73
4.3.90.0000.0235.75
4.3.80.0000.0375.72
4.3.70.0100.0135.72
4.3.60.0100.0135.69
4.3.50.0030.0235.72
4.3.40.0030.0375.70
4.3.30.0000.0235.36
4.3.20.0030.0205.36
4.3.10.0030.0205.36
4.3.00.0000.0235.36

preferences:
76.52 ms | 403 KiB | 5 Q