3v4l.org

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

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.0100.01020.73
8.4.10.0040.00417.49
8.3.150.0070.01120.89
8.3.140.0030.00616.47
8.3.130.0040.00418.19
8.3.120.0060.00320.45
8.3.110.0060.00320.94
8.3.100.0000.01024.06
8.3.90.0040.00426.77
8.3.80.0060.00318.43
8.3.70.0140.00718.43
8.3.60.0080.00818.03
8.3.50.0120.00921.20
8.3.40.0120.00618.77
8.3.30.0070.01118.43
8.3.20.0050.00221.60
8.3.10.0000.00821.92
8.3.00.0080.00023.63
8.2.260.0120.00618.69
8.2.250.0080.00016.46
8.2.240.0060.00316.79
8.2.230.0040.00422.58
8.2.220.0060.00337.54
8.2.210.0160.00326.77
8.2.200.0030.00618.43
8.2.190.0120.00316.58
8.2.180.0130.01316.50
8.2.170.0090.00622.96
8.2.160.0110.00422.12
8.2.150.0050.00324.18
8.2.140.0050.00524.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0070.00320.43
8.2.100.0040.00717.59
8.2.90.0000.00919.14
8.2.80.0040.00417.97
8.2.70.0050.00317.50
8.2.60.0030.00617.50
8.2.50.0050.00318.10
8.2.40.0030.00619.11
8.2.30.0000.00719.04
8.2.20.0030.00317.96
8.2.10.0030.00618.99
8.2.00.0000.00920.55
8.1.310.0070.00716.75
8.1.300.0030.00619.88
8.1.290.0030.00618.88
8.1.280.0110.00725.92
8.1.270.0000.00823.96
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0050.00522.03
8.1.230.0090.00319.10
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.00816.88
8.1.190.0090.00017.10
8.1.180.0060.00318.10
8.1.170.0060.00318.40
8.1.160.0000.00718.71
8.1.150.0000.00718.81
8.1.140.0030.00322.02
8.1.130.0050.00319.98
8.1.120.0000.00717.35
8.1.110.0000.00817.27
8.1.100.0040.00417.35
8.1.90.0040.00417.35
8.1.80.0000.00917.22
8.1.70.0040.00417.25
8.1.60.0080.00017.34
8.1.50.0000.00817.39
8.1.40.0030.00717.39
8.1.30.0000.00717.44
8.1.20.0040.00417.52
8.1.10.0040.00417.41
8.1.00.0030.00617.38
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0070.00018.23
8.0.270.0030.00517.17
8.0.260.0060.00019.89
8.0.250.0070.00016.76
8.0.240.0050.00316.87
8.0.230.0000.00716.86
8.0.220.0000.00716.69
8.0.210.0030.00316.64
8.0.200.0000.00716.87
8.0.190.0000.00816.81
8.0.180.0040.00416.79
8.0.170.0000.01116.77
8.0.160.0040.00416.84
8.0.150.0050.00316.72
8.0.140.0070.00016.61
8.0.130.0060.00013.18
8.0.120.0000.00716.71
8.0.110.0050.00316.76
8.0.100.0000.00816.62
8.0.90.0000.00816.75
8.0.80.0050.01016.71
8.0.70.0000.00716.71
8.0.60.0040.00416.75
8.0.50.0000.00716.65
8.0.30.0060.01316.90
8.0.20.0110.00717.09
8.0.10.0030.00316.85
8.0.00.0110.00716.52
7.4.330.0000.00515.55
7.4.320.0000.00616.48
7.4.300.0000.00616.51
7.4.290.0030.00316.27
7.4.280.0040.00416.45
7.4.270.0070.00016.51
7.4.260.0000.00716.43
7.4.250.0030.00516.44
7.4.240.0020.00616.38
7.4.230.0000.00716.12
7.4.220.0000.00716.47
7.4.210.0060.00916.49
7.4.200.0000.00716.54
7.4.130.0180.00016.34
7.4.120.0070.01016.52
7.4.110.0140.00316.21
7.4.100.0060.01616.32
7.4.90.0030.01316.35
7.4.80.0030.01319.39
7.4.70.0120.00916.57
7.4.60.0040.01216.44
7.4.50.0060.00916.40
7.4.40.0110.00716.29
7.4.00.0120.00314.70
7.3.330.0000.00513.14
7.3.320.0030.00313.04
7.3.310.0030.00316.07
7.3.300.0040.00416.13
7.3.290.0070.00716.17
7.3.280.0110.00416.15
7.3.260.0110.00916.34
7.3.240.0120.00716.29
7.3.230.0130.01016.07
7.3.210.0060.01216.26
7.3.200.0120.00916.12
7.3.190.0130.00916.15
7.3.180.0080.00816.23
7.3.170.0100.00716.21
7.3.160.0070.01416.32
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.330.0160.00316.55
7.2.320.0130.00616.23
7.2.310.0090.00916.52
7.2.300.0110.01016.21
7.2.290.0090.00616.23
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

preferences:
99.65 ms | 403 KiB | 5 Q