3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I { public function f($a); } abstract class A implements I { public function f($a = false) { } } class B extends A { public function f($a) { } }

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.5.30.0120.00518.88
8.5.20.0070.01119.49
8.5.10.0100.00816.73
8.5.00.0210.00919.95
8.4.180.0130.00919.64
8.4.170.0080.01323.86
8.4.160.0110.01123.77
8.4.150.0080.00416.84
8.4.140.0130.00817.51
8.4.130.0090.01117.99
8.4.120.0100.01122.41
8.4.110.0100.00918.70
8.4.100.0110.01018.47
8.4.90.0090.01118.50
8.4.80.0100.01018.68
8.4.70.0080.00817.77
8.4.60.0170.00418.70
8.4.50.0090.01120.14
8.4.40.0030.01317.78
8.4.30.0170.00319.69
8.4.20.0160.00319.26
8.4.10.0100.00017.79
8.3.300.0140.00620.13
8.3.290.0120.00820.75
8.3.280.0090.01118.38
8.3.270.0110.00816.74
8.3.260.0140.00516.68
8.3.250.0080.00719.00
8.3.240.0140.00616.41
8.3.230.0100.01016.75
8.3.220.0100.00718.92
8.3.210.0090.00816.58
8.3.200.0100.00916.83
8.3.190.0040.00416.91
8.3.180.0130.00516.71
8.3.170.0090.00920.88
8.3.160.0120.00617.36
8.3.150.0160.00317.13
8.3.140.0120.00616.54
8.3.130.0120.00416.71
8.3.120.0130.00620.70
8.3.110.0110.00416.88
8.3.100.0050.00524.06
8.3.90.0000.00826.77
8.3.80.0030.00618.30
8.3.70.0100.00618.55
8.3.60.0160.00618.14
8.3.50.0070.00717.59
8.3.40.0000.01518.68
8.3.30.0080.00818.35
8.3.20.0070.00318.85
8.3.10.0040.00420.64
8.3.00.0080.00017.93
8.2.300.0160.00518.64
8.2.290.0080.00120.41
8.2.280.0090.00918.16
8.2.270.0120.00616.85
8.2.260.0040.01116.69
8.2.250.0060.00616.56
8.2.240.0060.01217.04
8.2.230.0000.00820.94
8.2.220.0030.00637.54
8.2.210.0080.00026.77
8.2.200.0090.00016.50
8.2.190.0100.01016.58
8.2.180.0040.01117.99
8.2.170.0110.00722.96
8.2.160.0070.00721.07
8.2.150.0120.00624.18
8.2.140.0100.00324.66
8.2.130.0030.00519.52
8.2.120.0070.00026.35
8.2.110.0000.00922.14
8.2.100.0130.00817.78
8.2.90.0080.00017.50
8.2.80.0080.00018.65
8.2.70.0050.00317.80
8.2.60.0000.00817.92
8.2.50.0050.00318.10
8.2.40.0070.00019.22
8.2.30.0040.00419.29
8.2.20.0070.00017.81
8.2.10.0000.00718.00
8.2.00.0000.00719.43
8.1.340.0110.00819.69
8.1.330.0090.00921.64
8.1.320.0090.01015.85
8.1.310.0040.00416.40
8.1.300.0030.00618.45
8.1.290.0030.00630.84
8.1.280.0180.00025.92
8.1.270.0120.00323.92
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00618.87
8.1.230.0040.00720.67
8.1.220.0030.00618.58
8.1.210.0000.00918.77
8.1.200.0030.00617.23
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0000.00818.71
8.1.160.0050.00218.77
8.1.150.0050.00218.73
8.1.140.0080.00017.53
8.1.130.0070.00018.84
8.1.120.0030.00717.30
8.1.110.0040.00417.38
8.1.100.0050.00217.38
8.1.90.0000.00817.40
8.1.80.0000.00817.28
8.1.70.0000.00717.42
8.1.60.0050.00317.52
8.1.50.0000.00717.47
8.1.40.0040.00417.43
8.1.30.0060.00317.63
8.1.20.0060.00317.55
8.1.10.0000.00717.28
8.1.00.0030.00617.27
8.0.300.0070.00018.77
8.0.290.0070.00016.58
8.0.280.0030.00318.37
8.0.270.0030.00317.06
8.0.260.0050.00517.23
8.0.250.0040.00416.84
8.0.240.0030.00616.84
8.0.230.0040.00416.93
8.0.220.0000.00716.78
8.0.210.0030.00316.93
8.0.200.0030.00316.96
8.0.190.0030.00516.86
8.0.180.0050.00516.91
8.0.170.0130.00016.98
8.0.160.0110.00016.90
8.0.150.0070.00016.82
8.0.140.0000.00716.80
8.0.130.0030.00313.27
8.0.120.0030.00616.87
8.0.110.0040.00416.81
8.0.100.0040.00416.71
8.0.90.0040.00416.72
8.0.80.0130.00816.90
8.0.70.0050.00216.77
8.0.60.0040.00416.92
8.0.50.0000.00716.94
8.0.30.0100.00717.01
8.0.20.0090.00917.40
8.0.10.0040.00417.04
8.0.00.0080.00916.77
7.4.330.0050.00015.55
7.4.320.0020.00516.46
7.4.300.0030.00316.51
7.4.290.0060.00316.53
7.4.280.0030.00416.42
7.4.270.0000.00616.48
7.4.260.0000.00716.41
7.4.250.0000.00716.50
7.4.240.0070.00016.51
7.4.230.0000.00716.60
7.4.220.0040.00416.60
7.4.210.0110.00316.40
7.4.200.0030.00316.27
7.4.160.0090.01016.45
7.4.140.0110.00917.86
7.4.130.0060.01216.43
7.4.120.0110.01016.50
7.4.110.0060.01116.42
7.4.100.0150.00616.29
7.4.90.0150.00616.23
7.4.80.0090.00919.39
7.4.70.0140.00816.17
7.4.60.0120.00916.57
7.4.50.0070.00716.52
7.4.40.0030.01416.37
7.4.10.0020.01614.79
7.4.00.0070.01014.91
7.3.330.0000.00613.28
7.3.320.0020.00213.16
7.3.310.0000.00616.19
7.3.300.0030.00316.16
7.3.290.0040.00416.11
7.3.280.0090.00816.25
7.3.260.0070.01016.53
7.3.240.0100.00816.35
7.3.230.0150.00416.48
7.3.210.0160.00616.57
7.3.200.0060.01616.61
7.3.190.0150.00016.25
7.3.180.0040.01216.41
7.3.170.0070.01016.46
7.3.160.0130.00316.32
7.3.130.0060.01114.76
7.3.120.0030.01414.93
7.3.110.0070.01014.69
7.3.100.0080.00814.77
7.3.90.0080.00614.78
7.3.80.0070.00514.74
7.3.70.0070.00814.58
7.3.60.0040.00914.82
7.3.50.0090.00414.58
7.3.40.0030.01014.68
7.3.30.0020.01014.73
7.3.20.0040.01016.61
7.3.10.0040.00616.47
7.3.00.0060.00616.65
7.2.330.0160.00816.50
7.2.320.0070.01016.26
7.2.310.0180.00316.51
7.2.300.0150.01016.39
7.2.290.0000.02216.28
7.2.260.0090.01014.72
7.2.250.0100.00614.80
7.2.240.0090.00714.92
7.2.230.0070.00814.80
7.2.220.0050.00814.87
7.2.210.0060.00714.88
7.2.200.0070.00714.80
7.2.190.0040.00814.77
7.2.180.0050.00914.76
7.2.170.0060.00914.80
7.2.160.0050.00614.74
7.2.150.0040.01116.77
7.2.140.0100.00416.84
7.2.130.0030.01116.86
7.2.120.0030.01016.66
7.2.110.0040.01116.80
7.2.100.0040.01016.80
7.2.90.0030.01216.77
7.2.80.0060.00716.72
7.2.70.0050.00816.71
7.2.60.0500.00816.27
7.2.50.0440.00516.24
7.2.40.0760.00816.43
7.2.30.0930.00916.30
7.2.20.0860.00716.38
7.2.10.0790.00716.27
7.2.00.0840.00716.45
7.1.330.0050.00915.71
7.1.320.0060.00515.64
7.1.310.0070.00615.72
7.1.300.0080.00515.69
7.1.290.0070.00615.61
7.1.280.0060.00815.55
7.1.270.0090.00415.68
7.1.260.0060.00615.59
7.1.250.0060.00815.62
7.1.240.0030.00915.76
7.1.230.0080.00315.61
7.1.220.0050.01015.69
7.1.210.0090.00315.68
7.1.200.0080.00115.71
7.1.190.0070.00515.51
7.1.180.0080.00715.63
7.1.170.0570.00814.98
7.1.160.1120.00715.88
7.1.150.1120.00915.90
7.1.140.1070.01116.14
7.1.130.1030.00616.10
7.1.120.1150.00616.05
7.1.110.1160.01015.81
7.1.100.1370.01115.91
7.1.90.0970.00815.73
7.1.80.0990.00815.73
7.1.70.1060.00815.58
7.1.60.1070.01121.47
7.1.50.1530.01121.36
7.1.40.1470.01121.29
7.1.30.1910.01021.09
7.1.20.1630.00821.24
7.1.10.1400.00715.30
7.1.00.1410.00815.38
7.0.330.0050.00515.20
7.0.320.0020.01215.30
7.0.310.0050.00815.32
7.0.300.0050.00715.10
7.0.290.0050.00515.28
7.0.280.0050.01115.37
7.0.270.0060.00615.20
7.0.260.0070.00515.20
7.0.250.0030.01215.28
7.0.240.0020.00915.30
7.0.230.0070.00515.35
7.0.220.0030.00815.10
7.0.210.0020.01315.29
7.0.200.0050.01015.20
7.0.190.0020.00815.40
7.0.180.0060.00415.11
7.0.170.0050.00715.44
7.0.160.0080.00715.27
7.0.150.0020.01215.29
7.0.140.0030.00815.25
7.0.130.0050.00715.21
7.0.120.0080.00615.33
7.0.110.0030.01015.34
7.0.100.0030.00815.33
7.0.90.0070.00715.31
7.0.80.0060.00615.16
7.0.70.0050.00815.04
7.0.60.0070.00515.32
7.0.50.0070.00715.44
7.0.40.0040.00813.48
7.0.30.0070.00613.49
7.0.20.0030.00813.37
7.0.10.0070.00413.37
7.0.00.0060.00513.19
5.6.400.0060.00814.35
5.6.390.0100.00514.28
5.6.380.0040.00514.21
5.6.370.0020.00914.43
5.6.360.0040.00614.27
5.6.350.0020.01114.17
5.6.340.0020.00914.11
5.6.330.0030.00714.09
5.6.320.0030.01114.18
5.6.310.0060.00714.23
5.6.300.0030.00714.30
5.6.290.0030.00514.16
5.6.280.0020.01114.32
5.6.270.0040.00814.26
5.6.260.0100.00513.91
5.6.250.0090.00414.12
5.6.240.0040.00814.25
5.6.230.0030.00814.26
5.6.220.0090.00414.36
5.6.210.0090.00614.20
5.6.200.0090.00514.25
5.6.190.0100.00314.23
5.6.180.0060.00914.36
5.6.170.0000.01514.20
5.6.160.0030.01014.18
5.6.150.0080.00714.21
5.6.140.0070.00714.11
5.6.130.0060.00514.20
5.6.120.0060.00714.37
5.6.110.0090.00514.21
5.6.100.0050.01014.24
5.6.90.0080.00614.33
5.6.80.0030.00714.00
5.6.70.0030.01014.23
5.6.60.0050.00614.06
5.6.50.0020.01114.06
5.6.40.0030.00814.01
5.6.30.0060.00514.13
5.6.20.0070.00514.12
5.6.10.0060.00614.17
5.6.00.0050.00514.04

preferences:
58.7 ms | 1948 KiB | 5 Q