3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A { public function test(); } interface B { public function test($a = NULL); } class A1 implements A { public function test() {} } class B1 implements b { public function test() {} }

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.10.0100.00816.66
8.5.00.0130.00719.79
8.4.160.0100.01223.86
8.4.150.0010.00214.05
8.4.140.0120.01017.32
8.4.130.0120.00917.36
8.4.120.0100.00720.48
8.4.110.0090.00218.89
8.4.100.0060.01118.75
8.4.90.0150.00520.51
8.4.80.0120.00518.79
8.4.70.0080.00818.93
8.4.60.0120.00818.82
8.4.50.0130.00718.30
8.4.40.0060.01317.47
8.4.30.0130.00717.55
8.4.20.0140.00720.43
8.4.10.0090.00017.94
8.3.280.0020.00014.05
8.3.270.0080.01016.66
8.3.260.0090.01016.44
8.3.250.0040.00417.40
8.3.240.0130.00616.87
8.3.230.0070.01216.66
8.3.220.0030.00418.78
8.3.210.0070.01016.79
8.3.200.0030.00616.55
8.3.190.0090.00316.81
8.3.180.0090.00918.73
8.3.170.0040.00416.54
8.3.160.0040.00419.03
8.3.150.0070.00717.08
8.3.140.0030.00620.61
8.3.130.0060.00318.48
8.3.120.0040.01219.09
8.3.110.0040.00420.94
8.3.100.0070.01424.06
8.3.90.0040.00426.77
8.3.80.0050.00517.97
8.3.70.0150.00016.59
8.3.60.0110.00618.43
8.3.50.0090.00918.29
8.3.40.0120.00318.68
8.3.30.0070.00718.57
8.3.20.0080.00018.61
8.3.10.0000.00721.76
8.3.00.0040.00423.53
8.2.290.0110.00720.11
8.2.280.0110.00919.13
8.2.270.0190.00016.70
8.2.260.0000.00816.77
8.2.250.0090.00618.06
8.2.240.0130.00317.04
8.2.230.0040.00422.58
8.2.220.0100.00037.54
8.2.210.0030.01626.77
8.2.200.0030.00618.41
8.2.190.0070.01018.12
8.2.180.0090.01218.17
8.2.170.0090.00622.96
8.2.160.0100.00722.13
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0090.00319.24
8.2.120.0040.00426.35
8.2.110.0080.00022.24
8.2.100.0090.00317.66
8.2.90.0000.00817.50
8.2.80.0080.00017.97
8.2.70.0090.00017.80
8.2.60.0000.00718.03
8.2.50.0000.00818.10
8.2.40.0080.00021.11
8.2.30.0000.00720.54
8.2.20.0000.00718.05
8.2.10.0040.00417.88
8.2.00.0030.00618.13
8.1.330.0110.00816.00
8.1.320.0100.01016.31
8.1.310.0040.00416.19
8.1.300.0040.00415.91
8.1.290.0030.00630.84
8.1.280.0130.00325.92
8.1.270.0070.00020.24
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0060.00317.36
8.1.230.0110.00017.70
8.1.220.0050.00517.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0000.00917.10
8.1.180.0000.00818.10
8.1.170.0060.00318.46
8.1.160.0040.00418.80
8.1.150.0000.00718.72
8.1.140.0000.00718.72
8.1.130.0030.00320.31
8.1.120.0000.01117.39
8.1.110.0000.01017.26
8.1.100.0050.00217.29
8.1.90.0040.00417.34
8.1.80.0070.00017.42
8.1.70.0070.00017.29
8.1.60.0060.00317.49
8.1.50.0040.00417.31
8.1.40.0040.00417.47
8.1.30.0080.00017.47
8.1.20.0000.00817.55
8.1.10.0030.00617.36
8.1.00.0030.00617.20
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0030.00318.39
8.0.270.0000.00816.72
8.0.260.0030.00318.25
8.0.250.0000.00716.94
8.0.240.0030.00316.95
8.0.230.0030.00316.95
8.0.220.0030.00516.87
8.0.210.0030.00316.86
8.0.200.0000.00616.81
8.0.190.0040.00416.96
8.0.180.0070.00016.82
8.0.170.0000.00916.88
8.0.160.0050.00316.96
8.0.150.0040.00416.88
8.0.140.0030.00316.87
8.0.130.0000.00513.30
8.0.120.0040.00416.86
8.0.110.0000.00916.85
8.0.100.0040.00616.93
8.0.90.0020.00516.91
8.0.80.0110.00516.89
8.0.70.0070.00316.69
8.0.60.0000.00716.91
8.0.50.0000.00716.94
8.0.30.0130.00817.00
8.0.20.0110.00817.40
8.0.10.0040.00417.07
8.0.00.0100.00816.75
7.4.330.0050.00015.55
7.4.320.0000.00616.50
7.4.300.0000.00716.42
7.4.290.0030.00316.52
7.4.280.0000.00716.52
7.4.270.0050.00316.52
7.4.260.0060.00016.34
7.4.250.0030.00316.53
7.4.240.0030.00316.52
7.4.230.0040.00416.59
7.4.220.0070.00016.60
7.4.210.0080.00616.42
7.4.200.0000.00716.55
7.4.160.0090.00816.39
7.4.140.0100.01017.86
7.4.130.0070.01116.54
7.4.120.0080.00916.52
7.4.110.0100.00716.37
7.4.100.0160.00616.48
7.4.90.0160.00416.56
7.4.80.0090.00919.39
7.4.70.0100.00716.36
7.4.60.0100.01016.67
7.4.50.0040.00916.57
7.4.40.0060.01216.45
7.4.00.0030.01314.91
7.3.330.0000.00613.10
7.3.320.0050.00013.15
7.3.310.0040.00416.14
7.3.300.0000.00616.23
7.3.290.0030.00316.20
7.3.280.0130.00616.17
7.3.260.0070.01216.36
7.3.240.0080.00916.35
7.3.230.0130.01116.24
7.3.210.0030.01316.28
7.3.200.0030.01316.37
7.3.190.0110.00516.36
7.3.180.0060.00916.29
7.3.170.0070.01016.41
7.3.160.0080.00816.35
7.3.120.0040.01514.91
7.3.110.0070.00714.71
7.3.100.0150.00014.92
7.3.90.0090.00014.75
7.3.80.0040.00414.42
7.3.70.0030.00614.80
7.3.60.0000.01514.78
7.3.50.0060.00614.62
7.3.40.0000.01114.61
7.3.30.0040.00814.56
7.3.20.0000.01316.76
7.3.10.0060.00316.29
7.3.00.0150.00016.35
7.2.330.0120.01216.57
7.2.320.0110.01116.27
7.2.310.0140.00416.36
7.2.300.0040.01216.38
7.2.290.0100.00616.54
7.2.250.0110.00715.11
7.2.240.0070.00714.94
7.2.230.0130.00314.80
7.2.220.0000.00914.84
7.2.210.0030.01014.61
7.2.200.0090.00615.11
7.2.190.0060.00614.76
7.2.180.0070.01014.72
7.2.170.0120.00315.10
7.2.100.3430.01014.14
7.2.90.4140.00714.20
7.2.80.4350.00314.54
7.2.70.4150.00714.79
7.2.60.4030.01014.54
7.2.50.3990.01014.83
7.2.40.3720.00714.53
7.2.30.4750.00314.59
7.2.20.4240.01014.81
7.2.10.3540.01014.93
7.2.00.3290.00714.90
7.1.330.0060.00915.57
7.1.320.0040.00415.82
7.1.310.0080.00315.59
7.1.300.0070.01015.61
7.1.290.0090.00615.30
7.1.280.0040.00815.73
7.1.270.0000.01715.85
7.1.260.0030.01415.61
7.1.220.4660.00313.58
7.1.210.3390.00713.78
7.1.200.3940.01313.83
7.1.190.3480.00313.80
7.1.180.3950.00313.61
7.1.170.3640.01313.72
7.1.160.3380.00713.50
7.1.150.3200.00713.74
7.1.140.3110.00713.70
7.1.130.3410.01313.36
7.1.120.3190.00313.70
7.1.110.4320.01013.48
7.1.100.4070.01013.43
7.1.90.2450.00713.63
7.1.80.3330.00713.15
7.1.70.4050.00313.43
7.1.60.4190.00331.52
7.1.50.5180.01031.58
7.1.40.5580.00731.45
7.1.30.5210.01031.53
7.1.20.6430.00731.32
7.1.10.5780.00313.52
7.1.00.2960.00713.50
5.6.380.0100.00713.94

preferences:
35.35 ms | 403 KiB | 5 Q