3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function test($a = 1) { } } class B extends A { public function test($a = 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.40.0140.00718.54
8.3.30.0140.00018.68
8.3.20.0070.00020.27
8.3.10.0040.00421.91
8.3.00.0080.00020.87
8.2.170.0140.00322.96
8.2.160.0070.00722.13
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0070.00019.54
8.2.110.0000.00822.13
8.2.100.0070.00419.38
8.2.90.0040.00419.22
8.2.80.0080.00017.97
8.2.70.0080.00017.50
8.2.60.0000.00717.80
8.2.50.0030.00518.07
8.2.40.0060.00319.82
8.2.30.0040.00418.04
8.2.20.0000.00717.55
8.2.10.0000.00817.92
8.2.00.0070.00017.43
8.1.270.0040.00418.70
8.1.260.0150.00326.35
8.1.250.0050.00328.09
8.1.240.0080.00023.82
8.1.230.0040.00719.15
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0070.00317.22
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0000.00818.59
8.1.160.0060.00322.01
8.1.150.0000.00718.74
8.1.140.0040.00419.11
8.1.130.0040.00417.75
8.1.120.0070.00017.34
8.1.110.0000.00717.22
8.1.100.0000.00717.30
8.1.90.0040.00417.25
8.1.80.0040.00417.20
8.1.70.0030.00317.33
8.1.60.0050.00517.41
8.1.50.0040.00417.36
8.1.40.0030.00617.40
8.1.30.0040.00417.52
8.1.20.0030.00517.43
8.1.10.0040.00417.32
8.1.00.0030.00517.29
8.0.300.0070.00018.77
8.0.290.0000.00716.58
8.0.280.0000.00718.22
8.0.270.0000.00717.02
8.0.260.0000.00617.17
8.0.250.0000.00716.76
8.0.240.0070.00316.84
8.0.230.0000.00716.79
8.0.220.0000.00716.75
8.0.210.0000.00716.64
8.0.200.0030.00316.70
8.0.190.0000.00716.86
8.0.180.0000.00716.71
8.0.170.0000.00716.85
8.0.160.0070.00016.64
8.0.150.0030.00316.60
8.0.140.0030.00416.62
8.0.130.0070.00013.20
8.0.120.0060.00316.61
8.0.110.0040.00416.66
8.0.100.0030.00316.82
8.0.90.0000.00716.88
8.0.80.0090.01216.74
8.0.70.0000.00716.88
8.0.60.0040.00416.80
8.0.50.0040.00416.82
8.0.30.0150.00917.07
8.0.20.0130.00817.40
8.0.10.0030.00416.77
8.0.00.0150.00616.61
7.4.330.0050.00015.03
7.4.320.0030.00316.27
7.4.300.0030.00316.51
7.4.290.0040.00216.45
7.4.280.0000.00716.46
7.4.270.0020.00516.38
7.4.260.0000.00716.38
7.4.250.0040.00416.27
7.4.240.0030.00316.37
7.4.230.0070.00016.45
7.4.220.0120.00716.48
7.4.210.0070.00716.49
7.4.200.0030.00316.26
7.4.160.0110.00416.52
7.4.150.0110.00517.40
7.4.140.0100.00717.86
7.4.130.0050.01116.29
7.4.120.0120.00816.46
7.4.110.0070.01416.55
7.4.100.0150.00316.36
7.4.90.0140.00316.41
7.4.80.0100.00719.39
7.4.70.0100.00716.52
7.4.60.0030.01316.26
7.4.50.0000.00816.38
7.4.40.0030.01516.30
7.4.30.0070.01016.48
7.4.00.0080.00914.83
7.3.330.0000.00613.25
7.3.320.0030.00313.19
7.3.310.0000.00716.21
7.3.300.0030.00316.17
7.3.290.0070.00716.19
7.3.280.0060.01116.17
7.3.270.0130.00317.40
7.3.260.0070.01016.07
7.3.250.0070.01016.20
7.3.240.0110.01216.35
7.3.230.0140.00316.39
7.3.210.0090.00916.20
7.3.200.0080.01119.39
7.3.190.0040.01516.38
7.3.180.0130.00316.47
7.3.170.0030.01316.48
7.3.160.0070.01016.08
7.3.120.0030.01014.43
7.3.110.0070.01114.64
7.3.100.0000.01814.71
7.3.90.0070.00714.67
7.3.80.0060.00914.55
7.3.70.0060.00614.60
7.3.60.0040.00714.39
7.3.50.0060.00914.31
7.3.40.0060.00714.76
7.3.30.0030.00614.62
7.3.20.0090.00616.53
7.3.10.0050.00716.56
7.3.00.0040.01116.40
7.2.330.0060.01116.48
7.2.320.0070.01116.46
7.2.310.0110.00516.45
7.2.300.0040.01416.35
7.2.290.0100.00716.41
7.2.250.0110.00715.08
7.2.240.0100.01014.54
7.2.230.0110.00714.74
7.2.220.0150.00014.68
7.2.210.0000.01415.04
7.2.200.0060.00814.82
7.2.190.0000.01014.92
7.2.180.0120.00014.72
7.2.170.0090.00614.96
7.2.130.0090.00716.79
7.2.120.0020.01216.57
7.2.110.0050.00816.66
7.2.100.0050.01116.59
7.2.90.0060.00716.72
7.2.80.0080.00516.56
7.2.70.0070.00616.50
7.2.60.0070.00716.51
7.2.50.0030.01016.68
7.2.40.0050.00716.71
7.2.30.0100.00516.67
7.2.20.0050.00516.59
7.2.10.0100.00316.62
7.2.00.0070.00617.65
7.1.330.0030.00715.34
7.1.320.0040.01115.43
7.1.310.0070.00715.73
7.1.300.0030.00615.49
7.1.290.0000.00915.48
7.1.280.0030.01115.71
7.1.270.0030.00715.34
7.1.260.0110.00315.55
7.1.250.0020.01015.45
7.1.100.0000.01217.80
7.1.70.0080.00516.96
7.1.60.0100.01619.46
7.1.50.0070.01016.87
7.1.00.0100.07022.41
7.0.200.0070.00016.82
7.0.140.0100.02722.15
7.0.60.0070.06019.94
7.0.50.0070.05717.86
7.0.40.0100.06020.30
7.0.30.0470.06320.26
7.0.20.0200.05720.33
7.0.10.0170.07720.08
7.0.00.0030.08720.07
5.6.280.0030.07320.89
5.6.210.0170.06020.67
5.6.200.0000.08018.20
5.6.190.0130.07320.34
5.6.180.4100.05020.67
5.6.170.0270.03720.57
5.6.160.0030.04720.57
5.6.150.0130.07018.25
5.6.140.0030.07018.11
5.6.130.0000.05718.26
5.6.120.0070.08321.00
5.6.110.0030.08721.13
5.6.100.0100.07721.02
5.6.90.0030.08721.12
5.6.80.0100.08020.49
5.6.70.4500.03720.39
5.5.350.0300.07320.36
5.5.340.0170.05318.05
5.5.330.0030.04720.57
5.5.320.3770.03720.34
5.5.310.0300.05320.17
5.5.300.0030.07717.94
5.5.290.0030.08317.98
5.5.280.0170.07320.73
5.5.270.0070.08320.82
5.5.260.0000.08320.88
5.5.250.0000.08320.62
5.5.240.0230.06320.19
5.4.450.0400.06319.56
5.4.440.0330.06019.36
5.4.430.0130.07719.38
5.4.420.0230.06719.51
5.4.410.0130.07319.35
5.4.400.0130.05319.26
5.4.390.0130.07718.78
5.4.380.0230.05318.80
5.4.370.0070.07318.63
5.4.360.0230.06718.80
5.4.350.0230.06718.50
5.4.340.0200.07318.79
5.4.320.0330.06318.46
5.4.310.0330.05318.78
5.4.300.0170.06718.69
5.4.290.0100.06018.83
5.4.280.0200.05318.49
5.4.270.0130.06018.69
5.4.260.0170.06018.80
5.4.250.0230.05718.61
5.4.240.0330.06318.74
5.4.230.0170.06318.75
5.4.220.0230.06318.69
5.4.210.0200.05318.54
5.4.200.0230.05316.62
5.4.190.0270.05018.59
5.4.180.0170.05318.45
5.4.170.0330.04318.61
5.4.160.0400.05718.45
5.4.150.0330.05718.59
5.4.140.0170.06716.33
5.4.130.0270.05316.44
5.4.120.0200.05016.46
5.4.110.0200.05016.17
5.4.100.0230.06016.28
5.4.90.0130.07316.21
5.4.80.0170.05316.25
5.4.70.0270.05716.14
5.4.60.0230.06016.23
5.4.50.0270.04716.23
5.4.40.0100.05716.23
5.4.30.0130.05316.16
5.4.20.0170.05016.25
5.4.10.0300.04716.16
5.4.00.0130.06015.73
5.3.290.0130.07314.83
5.3.280.0300.05714.58
5.3.270.0200.06014.70
5.3.260.0300.04714.71
5.3.250.0170.06014.81
5.3.240.0170.05314.80
5.3.230.0170.05714.61
5.3.220.0100.06014.66
5.3.210.0230.05714.77
5.3.200.0230.04314.59
5.3.190.0130.06314.59
5.3.180.0230.05714.66
5.3.170.0230.06714.78
5.3.160.0230.06014.54
5.3.150.0400.03714.69
5.3.140.0200.06014.58
5.3.130.0200.05714.75
5.3.120.0170.08014.56
5.3.110.0230.05014.58
5.3.100.0170.07714.24
5.3.90.0170.07314.02
5.3.80.0200.05314.24
5.3.70.0100.07314.05
5.3.60.0200.05314.05
5.3.50.0130.06714.01
5.3.40.0070.06714.18
5.3.30.0230.04713.97
5.3.20.0200.06013.69
5.3.10.0300.05713.75
5.3.00.0130.05713.68
5.2.170.0170.04311.16
5.2.160.0300.03311.26
5.2.150.0100.05311.38
5.2.140.0130.05011.17
5.2.130.0130.04711.14
5.2.120.0130.05011.32
5.2.110.0200.04711.10
5.2.100.0100.04711.12
5.2.90.0200.05011.31
5.2.80.0230.04011.13
5.2.70.0270.03311.15
5.2.60.0100.04711.10
5.2.50.0270.03711.13
5.2.40.0200.04311.11
5.2.30.0070.04711.07
5.2.20.0230.03311.07
5.2.10.0130.04710.90
5.2.00.0270.04010.75
5.1.60.0070.04010.10
5.1.50.0200.02710.02
5.1.40.0070.03710.16
5.1.30.0170.04010.32
5.1.20.0100.05010.57
5.1.10.0300.03310.09
5.1.00.0070.05710.09
5.0.50.0100.0308.63
5.0.40.0130.0278.61
5.0.30.0130.0408.40
5.0.20.0100.0338.23
5.0.10.0100.0338.38
5.0.00.0070.0538.20
4.4.90.0130.0235.90
4.4.80.0100.0275.88
4.4.70.0100.0275.98
4.4.60.0000.0305.93
4.4.50.0030.0275.89
4.4.40.0030.0435.87
4.4.30.0100.0205.92
4.4.20.0030.0276.03
4.4.10.0070.0306.00
4.4.00.0030.0475.91
4.3.110.0070.0305.89
4.3.100.0070.0275.79
4.3.90.0100.0235.82
4.3.80.0000.0435.77
4.3.70.0070.0275.81
4.3.60.0030.0305.82
4.3.50.0100.0205.86
4.3.40.0070.0375.85
4.3.30.0070.0204.58
4.3.20.0070.0274.58
4.3.10.0030.0274.58
4.3.00.0170.02312.48

preferences:
46.01 ms | 400 KiB | 5 Q