3v4l.org

run code in 200+ 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' );
based on ORBWl

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)
7.4.00.0070.00714.70
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