3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Bar {} interface Foo { public function aaa(Bar $bar = null); } class Baz implements Foo { public function aaa(Bar $bar = null) {} } class Tab implements Foo { public function aaa(?Bar $bar = null) {} }

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.130.0080.00018.48
8.3.120.0030.00618.75
8.3.110.0090.00520.94
8.3.100.0040.00424.06
8.3.90.0030.00518.43
8.3.80.0030.00618.15
8.3.70.0070.01116.38
8.3.60.0150.00318.43
8.3.50.0050.01621.02
8.3.40.0100.00718.52
8.3.30.0070.00718.58
8.3.20.0070.00020.34
8.3.10.0040.00421.73
8.3.00.0060.00319.00
8.2.250.0140.00416.56
8.2.240.0060.00318.66
8.2.230.0070.00722.58
8.2.220.0200.00037.54
8.2.210.0100.01026.77
8.2.200.0070.00418.17
8.2.190.0030.01216.58
8.2.180.0070.00718.16
8.2.170.0070.00722.96
8.2.160.0040.01119.22
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0000.00720.34
8.2.120.0050.00326.35
8.2.110.0070.00320.88
8.2.100.0040.00817.78
8.2.90.0040.00419.11
8.2.80.0060.00317.97
8.2.70.0000.00917.38
8.2.60.0040.00418.14
8.2.50.0030.00619.53
8.2.40.0040.00420.55
8.2.30.0040.00419.22
8.2.20.0070.00018.06
8.2.10.0070.00018.16
8.2.00.0070.00018.08
8.1.300.0060.00319.59
8.1.290.0030.00618.88
8.1.280.0160.00325.92
8.1.270.0090.00623.97
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0090.00023.83
8.1.230.0030.00719.07
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0080.00017.23
8.1.190.0060.00317.22
8.1.180.0060.00318.10
8.1.170.0040.00418.71
8.1.160.0030.00618.82
8.1.150.0000.00720.18
8.1.140.0040.00419.51
8.1.130.0000.00720.61
8.1.120.0040.00417.29
8.1.110.0030.00517.44
8.1.100.0050.00317.40
8.1.90.0000.00817.34
8.1.80.0060.00317.44
8.1.70.0070.00017.35
8.1.60.0040.00417.52
8.1.50.0030.00617.46
8.1.40.0000.00717.50
8.1.30.0040.00417.64
8.1.20.0040.00417.66
8.1.10.0060.00317.40
8.1.00.0050.00217.28
8.0.300.0070.00020.07
8.0.290.0040.00416.63
8.0.280.0040.00418.41
8.0.270.0070.00017.18
8.0.260.0030.00318.91
8.0.250.0000.00716.84
8.0.240.0030.00616.82
8.0.230.0000.00716.87
8.0.220.0030.00316.86
8.0.210.0040.00416.77
8.0.200.0030.00316.75
8.0.190.0000.00816.89
8.0.180.0000.00716.77
8.0.170.0000.00716.73
8.0.160.0030.00316.83
8.0.150.0030.00616.81
8.0.140.0030.00316.70
8.0.130.0050.00013.18
8.0.120.0000.00716.66
8.0.110.0040.00416.88
8.0.100.0050.00316.82
8.0.90.0000.00816.70
8.0.80.0140.00716.82
8.0.70.0040.00416.71
8.0.60.0070.00016.88
8.0.50.0040.00416.65
8.0.30.0110.00916.95
8.0.20.0090.01117.40
8.0.10.0000.00716.90
8.0.00.0120.00616.72
7.4.330.0050.00015.55
7.4.320.0000.00616.48
7.4.300.0000.00616.53
7.4.290.0030.00316.38
7.4.280.0060.00316.57
7.4.270.0040.00416.43
7.4.260.0000.00816.48
7.4.250.0070.00016.52
7.4.240.0070.00016.46
7.4.230.0000.00616.62
7.4.220.0060.01516.38
7.4.210.0100.00716.54
7.4.200.0000.00716.59
7.4.160.0130.00416.44
7.4.150.0040.01417.40
7.4.140.0130.01017.86
7.4.130.0180.00716.30
7.4.120.0110.00616.48
7.4.110.0030.01416.29
7.4.100.0110.00816.51
7.4.90.0100.00716.45
7.4.80.0070.01019.39
7.4.70.0080.00816.46
7.4.60.0090.00616.49
7.4.50.0040.01116.33
7.4.40.0190.00016.28
7.4.30.0000.01616.36
7.4.00.0050.01015.01
7.3.330.0020.00213.11
7.3.320.0050.00012.99
7.3.310.0040.00416.21
7.3.300.0000.00716.04
7.3.290.0060.00816.20
7.3.280.0110.00716.16
7.3.270.0030.01417.40
7.3.260.0130.00616.19
7.3.240.0090.00816.30
7.3.230.0080.00816.18
7.3.210.0100.00616.10
7.3.200.0090.00616.40
7.3.190.0090.01416.36
7.3.180.0130.01016.41
7.3.170.0060.00916.52
7.3.160.0150.00316.24
7.3.120.0080.01014.92
7.3.110.0070.01014.76
7.3.100.0100.00214.64
7.3.90.0030.01214.75
7.3.80.0090.00614.67
7.3.70.0060.00814.70
7.3.60.0080.00514.53
7.3.50.0060.00614.59
7.3.40.0080.00614.74
7.3.30.0050.00714.80
7.3.20.0080.00316.70
7.3.10.0060.01016.61
7.3.00.0020.01216.61
7.2.330.0030.01316.30
7.2.320.0120.00616.40
7.2.310.0120.01016.60
7.2.300.0190.00316.41
7.2.290.0080.00816.34
7.2.250.0070.01214.95
7.2.240.0070.01114.87
7.2.230.0060.01014.87
7.2.220.0020.01015.09
7.2.210.0110.00714.89
7.2.200.0030.01114.83
7.2.190.0120.00514.66
7.2.180.0070.00814.84
7.2.170.0060.01014.95
7.2.60.0090.00616.61
7.2.00.0000.01419.43
7.1.330.0090.00515.75
7.1.320.0050.00815.77
7.1.310.0040.00815.51
7.1.300.0050.01115.73
7.1.290.0070.00715.58
7.1.280.0070.00715.63
7.1.270.0030.00715.61
7.1.260.0050.01115.60
7.1.200.0060.00615.54
7.1.70.0000.00816.90
7.1.60.0090.00917.28
7.1.50.0040.01816.70
7.1.40.0630.01732.37
7.1.30.0800.01032.43
7.1.20.0770.01032.45
7.1.10.0830.01014.38
7.1.00.0630.01014.54
7.0.200.0080.00816.57
7.0.180.0700.00314.14
7.0.170.0900.00314.09
7.0.160.0700.01014.23
7.0.150.0800.00714.28
7.0.140.0630.01014.35
7.0.130.0700.00714.31
7.0.120.0830.01014.15
7.0.110.0730.01314.12
7.0.100.0670.01014.11
7.0.90.0770.01014.30
7.0.80.0600.01314.24
7.0.70.0670.01313.92
7.0.60.0770.00714.01
7.0.50.1270.01714.30
7.0.40.1900.00714.34
7.0.30.1130.00714.40
7.0.20.1030.01314.22
7.0.10.0800.01314.26
7.0.00.0030.01014.30

preferences:
69.89 ms | 403 KiB | 5 Q