3v4l.org

run code in 200+ PHP versions simultaneously
<?php class ParentClassBackCompat { public function walk($param1, $param2) {} } class ChildClassBackCompat extends ParentClassBackCompat { function walk($param1, $param2, ...$spread) {} }
based on 5oNs4

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.0120.00314.70
7.3.70.0180.00614.43
7.3.60.0130.00514.71
7.3.50.0090.01214.39
7.3.40.0060.00914.36
7.3.30.0090.00614.49
7.3.20.0040.01316.52
7.3.10.0130.00316.57
7.3.00.0130.00916.26
7.2.200.0000.02514.74
7.2.190.0130.00614.71
7.2.180.0030.01014.39
7.2.170.0100.01414.63
7.2.160.0100.01414.92
7.2.150.0040.01216.74
7.2.140.0100.00616.39
7.2.130.0160.00616.62
7.2.120.0120.01116.79
7.2.110.0110.00316.77
7.2.100.0150.00516.66
7.2.90.0070.00716.81
7.2.80.0190.00816.66
7.2.70.0150.00616.46
7.2.60.0110.00616.74
7.2.50.0090.00616.76
7.2.40.0120.00316.60
7.2.30.0230.00716.54
7.2.20.0130.01316.91
7.2.10.0220.00816.89
7.2.00.0080.00816.52
7.1.300.0040.01215.36
7.1.290.0070.01415.42
7.1.280.0080.00815.56
7.1.270.0100.01315.25
7.1.260.0030.01215.42
7.1.250.0090.01115.72
7.1.240.0100.01315.64
7.1.230.0130.00315.43
7.1.220.0130.01015.69
7.1.210.0050.01815.46
7.1.200.0100.00715.39
7.1.190.0060.02315.59
7.1.180.0170.01015.48
7.1.170.0120.00815.56
7.1.160.0180.00415.55
7.1.150.0130.01015.64
7.1.140.0200.00715.28
7.1.130.0090.00915.61
7.1.120.0050.01415.58
7.1.110.0150.00415.70
7.1.100.0130.00815.34
7.1.90.0160.00815.21
7.1.80.0200.01215.38
7.1.70.0180.00715.78
7.1.60.0200.00715.58
7.1.50.0250.00315.34
7.1.40.0110.01115.33
7.1.30.0240.00415.55
7.1.20.0260.00015.37
7.1.10.0120.00915.71
7.1.00.0100.00715.49
7.0.330.0150.01115.14
7.0.320.0170.00915.24
7.0.310.0190.00315.27
7.0.300.0090.00915.27
7.0.290.0140.00715.15
7.0.280.0100.02015.06
7.0.270.0120.00915.05
7.0.260.0210.00314.98
7.0.250.0110.00615.29
7.0.240.0150.00415.02
7.0.230.0120.00714.94
7.0.220.0170.01015.48
7.0.210.0180.01115.46
7.0.200.0230.00315.19
7.0.190.0180.01015.27
7.0.180.0190.00715.30
7.0.170.0160.01015.12
7.0.160.0100.01515.30
7.0.150.0120.00415.20
7.0.140.0120.00915.32
7.0.130.0250.00915.20
7.0.120.0220.00315.20
7.0.110.0140.00715.26
7.0.100.0110.00615.35
7.0.90.0140.01115.09
7.0.80.0100.00815.27
7.0.70.0130.01015.29
7.0.60.0140.01415.12
7.0.50.0040.01415.33
7.0.40.0150.00715.29
7.0.30.0230.00915.44
7.0.20.0200.00415.31
7.0.10.0180.00915.11
7.0.00.0140.00415.39
5.6.400.0130.00614.26
5.6.390.0130.00714.11
5.6.380.0120.00614.14
5.6.370.0140.01114.22
5.6.360.0120.01213.73
5.6.350.0110.01414.20
5.6.340.0150.00414.20
5.6.330.0160.01013.79
5.6.320.0170.00414.28
5.6.310.0240.00313.93
5.6.300.0170.01313.91
5.6.290.0130.00314.07
5.6.280.0200.01414.40
5.6.270.0180.00314.19
5.6.260.0100.00814.05
5.6.250.0120.01213.95
5.6.240.0070.01013.98
5.6.230.0180.00914.21
5.6.220.0120.01214.05
5.6.210.0240.00913.96
5.6.200.0120.01114.27
5.6.190.0130.01014.19
5.6.180.0230.00713.86
5.6.170.0140.01014.17
5.6.160.0120.00614.17
5.6.150.0110.00914.09
5.6.140.0200.00314.00
5.6.130.0070.01314.13
5.6.120.0150.00414.07
5.6.110.0130.00813.96
5.6.100.0150.00813.96
5.6.90.0230.01114.03
5.6.80.0180.00414.02
5.6.70.0250.00713.89
5.6.60.0150.00613.93
5.6.50.0130.01614.00
5.6.40.0150.01114.01
5.6.30.0130.01313.89
5.6.20.0110.00713.90
5.6.10.0090.01814.06
5.6.00.0190.00614.21
5.5.380.0120.00413.92
5.5.370.0140.01813.95
5.5.360.0170.01214.02
5.5.350.0170.00514.17
5.5.340.0200.00614.05
5.5.330.0140.01014.01
5.5.320.0210.00614.14
5.5.310.0130.00814.02
5.5.300.0200.01114.02
5.5.290.0120.00614.06
5.5.280.0170.00413.84
5.5.270.0060.00914.05
5.5.260.0110.00814.17
5.5.250.0180.01413.97
5.5.240.0150.00913.91
5.5.230.0110.00613.94
5.5.220.0130.00914.12
5.5.210.0210.00514.09
5.5.200.0120.01214.11
5.5.190.0180.01514.09
5.5.180.0150.00913.80
5.5.170.0090.01213.91
5.5.160.0160.01014.08
5.5.150.0080.00813.63
5.5.140.0160.00213.97
5.5.130.0160.00713.80
5.5.120.0110.00714.02
5.5.110.0130.00613.83
5.5.100.0050.01113.83
5.5.90.0090.01113.90
5.5.80.0120.00413.73
5.5.70.0100.00713.80
5.5.60.0040.01713.72
5.5.50.0140.00413.87
5.5.40.0140.00813.78
5.5.30.0110.00713.99
5.5.20.0210.00614.09
5.5.10.0180.01113.88
5.5.00.0100.01914.13
5.4.450.0090.00510.63
5.4.440.0130.00910.82
5.4.430.0130.00310.64
5.4.420.0080.01110.57
5.4.410.0090.01310.83
5.4.400.0030.00910.87
5.4.390.0080.01110.99
5.4.380.0190.00510.87
5.4.370.0110.00410.79
5.4.360.0120.00910.66
5.4.350.0170.00310.69
5.4.340.0100.01010.67
5.4.330.0120.00410.94
5.4.320.0160.00310.43
5.4.310.0070.00710.71
5.4.300.0170.00310.85
5.4.290.0150.00010.58
5.4.280.0130.00310.71
5.4.270.0140.00710.97
5.4.260.0080.00610.82
5.4.250.0130.00010.63
5.4.240.0160.00010.61
5.4.230.0180.00310.82
5.4.220.0140.01210.92
5.4.210.0150.00910.64
5.4.200.0080.00510.71
5.4.190.0100.01010.43
5.4.180.0150.00610.51
5.4.170.0140.00910.70
5.4.160.0170.00310.79
5.4.150.0150.00610.75
5.4.140.0100.00810.80
5.4.130.0140.00510.75
5.4.120.0160.01010.52
5.4.110.0100.00710.55
5.4.100.0070.01410.79
5.4.90.0110.00710.50
5.4.80.0140.00510.75
5.4.70.0120.00010.87
5.4.60.0090.00410.68
5.4.50.0080.00510.78
5.4.40.0120.00410.66
5.4.30.0110.01110.93
5.4.20.0110.00010.89
5.4.10.0150.00010.69
5.4.00.0110.00710.74
5.3.290.0130.00310.39
5.3.280.0090.00610.23
5.3.270.0110.01110.27
5.3.260.0130.00410.24
5.3.250.0110.00610.30
5.3.240.0070.01010.14
5.3.230.0090.00610.07
5.3.220.0100.00510.07
5.3.210.0130.00510.20
5.3.200.0130.00310.27
5.3.190.0140.00410.26
5.3.180.0210.00010.46
5.3.170.0190.00310.46
5.3.160.0040.00810.46
5.3.150.0150.00510.38
5.3.140.0040.01810.40
5.3.130.0120.00810.41
5.3.120.0140.00410.32
5.3.110.0040.01310.32
5.3.100.0150.00310.32
5.3.90.0130.01710.37
5.3.80.0200.00310.29
5.3.70.0130.00310.18
5.3.60.0100.00510.31
5.3.50.0040.00810.28
5.3.40.0070.00410.27
5.3.30.0080.00310.22
5.3.20.0120.00910.28
5.3.10.0090.00410.05
5.3.00.0100.00310.02
5.2.170.0090.0069.95
5.2.160.0000.0109.95
5.2.150.0050.0069.95
5.2.140.0160.0009.95
5.2.130.0080.0039.95
5.2.120.0100.0079.95
5.2.110.0100.0009.95
5.2.100.0070.0079.95
5.2.90.0100.0039.95
5.2.80.0070.0039.95
5.2.70.0120.0069.95
5.2.60.0140.0009.95
5.2.50.0070.0029.95
5.2.40.0100.0059.95
5.2.30.0100.0039.95
5.2.20.0070.0079.95
5.2.10.0110.0039.95
5.2.00.0070.0049.95
5.1.60.0070.0059.95
5.1.50.0100.0049.95
5.1.40.0080.0089.95
5.1.30.0070.0039.95
5.1.20.0050.0099.95
5.1.10.0090.0009.95
5.1.00.0060.0029.95
5.0.50.0040.0119.95
5.0.40.0040.0049.95
5.0.30.0060.0069.95
5.0.20.0040.0049.95
5.0.10.0110.0039.95
5.0.00.0070.0049.95
4.4.90.0090.0009.95
4.4.80.0000.0069.95
4.4.70.0000.0069.95
4.4.60.0020.0049.95
4.4.50.0000.0059.95
4.4.40.0040.0049.95
4.4.30.0020.0049.95
4.4.20.0020.0079.95
4.4.10.0070.0039.95
4.4.00.0100.0009.95
4.3.110.0060.0009.95
4.3.100.0000.0089.95
4.3.90.0030.0039.95
4.3.80.0050.0039.95
4.3.70.0030.0039.95
4.3.60.0030.0039.95
4.3.50.0040.0049.95
4.3.40.0040.0029.95
4.3.30.0000.0109.95
4.3.20.0030.0039.95
4.3.10.0030.0039.95
4.3.00.0000.0059.95