3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Common { function createCommon(); } interface Specific1 extends Common { function createSpecific1(); } interface Specific2 extends Common { function createSpecific2(); } class A implements Common, Specific1 { public function createCommon() { } public function createSpecific1() { } } print_r(class_implements(new 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.3.60.0060.00916.63
8.3.50.0160.00321.14
8.3.40.0100.01018.58
8.3.30.0070.01018.41
8.3.20.0080.00018.54
8.3.10.0080.00021.90
8.3.00.0150.00417.66
8.2.180.0100.00716.38
8.2.170.0100.01022.96
8.2.160.0070.00720.89
8.2.150.0030.00524.18
8.2.140.0100.00324.66
8.2.130.0090.00021.14
8.2.120.0040.00426.35
8.2.110.0000.01019.32
8.2.100.0090.00317.93
8.2.90.0030.00519.23
8.2.80.0040.00417.97
8.2.70.0080.00017.38
8.2.60.0040.00417.68
8.2.50.0040.00418.10
8.2.40.0000.00922.07
8.2.30.0030.00619.09
8.2.20.0000.00717.50
8.2.10.0040.00417.87
8.2.00.0040.00417.92
8.1.280.0160.00325.92
8.1.270.0040.00423.84
8.1.260.0040.00428.09
8.1.250.0070.00728.09
8.1.240.0030.00622.07
8.1.230.0070.00417.42
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0040.00416.99
8.1.190.0080.00017.12
8.1.180.0040.00418.10
8.1.170.0030.00618.41
8.1.160.0040.00418.93
8.1.150.0000.00818.82
8.1.140.0000.00719.52
8.1.130.0030.00317.62
8.1.120.0040.00317.35
8.1.110.0030.00717.42
8.1.100.0070.00017.38
8.1.90.0040.00417.28
8.1.80.0040.00417.46
8.1.70.0030.00317.41
8.1.60.0030.00717.53
8.1.50.0000.00717.38
8.1.40.0040.00417.38
8.1.30.0000.00817.63
8.1.20.0000.00717.55
8.1.10.0040.00417.46
8.1.00.0040.00417.23
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0000.00718.50
8.0.270.0000.00817.18
8.0.260.0000.00617.17
8.0.250.0040.00416.97
8.0.240.0030.00316.93
8.0.230.0060.00316.79
8.0.220.0040.00416.84
8.0.210.0040.00416.85
8.0.200.0030.00316.77
8.0.190.0000.00816.76
8.0.180.0000.00816.74
8.0.170.0000.00816.74
8.0.160.0030.00316.84
8.0.150.0000.00716.74
8.0.140.0000.00716.68
8.0.130.0000.00513.29
8.0.120.0080.00016.84
8.0.110.0040.00416.73
8.0.100.0000.00716.73
8.0.90.0040.00416.94
8.0.80.0110.00816.82
8.0.70.0030.00516.84
8.0.60.0000.00816.69
8.0.50.0040.00416.88
8.0.30.0060.01117.00
8.0.20.0110.00717.40
8.0.10.0060.00316.95
8.0.00.0080.01016.70
7.4.330.0000.00515.08
7.4.320.0030.00316.39
7.4.300.0030.00316.54
7.4.290.0040.00316.48
7.4.280.0000.00716.51
7.4.270.0070.00016.55
7.4.260.0030.00313.23
7.4.250.0040.00416.46
7.4.240.0000.00716.41
7.4.230.0030.00316.56
7.4.220.0150.00316.47
7.4.210.0120.00916.30
7.4.200.0000.00716.43
7.4.160.0090.00616.26
7.4.150.0100.00717.40
7.4.140.0120.00617.86
7.4.130.0110.00816.31
7.4.120.0050.01416.49
7.4.110.0120.00616.66
7.4.100.0090.00916.33
7.4.90.0100.00716.44
7.4.80.0090.01219.39
7.4.70.0060.01016.31
7.4.60.0000.01516.54
7.4.50.0040.00816.30
7.4.40.0030.01316.51
7.4.30.0090.00616.42
7.4.00.0060.01015.04
7.3.330.0050.00013.17
7.3.320.0070.00013.20
7.3.310.0030.00316.02
7.3.300.0000.00716.04
7.3.290.0080.00916.15
7.3.280.0130.00616.14
7.3.270.0100.01417.40
7.3.260.0000.01616.33
7.3.250.0090.01016.24
7.3.240.0100.01016.21
7.3.230.0060.01216.39
7.3.210.0190.00316.25
7.3.200.0030.01416.39
7.3.190.0100.00616.20
7.3.180.0060.00916.34
7.3.170.0130.00316.31
7.3.160.0080.01316.26
7.3.10.0110.00316.28
7.3.00.0070.00716.39
7.2.330.0130.00616.58
7.2.320.0110.00616.38
7.2.310.0060.01116.34
7.2.300.0090.00916.59
7.2.290.0070.01416.61
7.2.130.0120.00316.53
7.2.120.0040.00716.48
7.2.110.0060.00616.47
7.2.100.0060.00616.33
7.2.90.0040.01116.64
7.2.80.0070.00616.51
7.2.70.0060.00616.48
7.2.60.0060.01016.54
7.2.50.0120.00616.46
7.2.40.0080.00816.65
7.2.30.0120.00316.59
7.2.20.0070.00716.49
7.2.10.0040.00516.34
7.2.00.0070.00517.55
7.1.250.0070.00715.33
7.1.200.0030.00815.76
7.1.100.0050.00517.99
7.1.70.0000.00716.92
7.1.60.0040.00919.25
7.1.00.0070.07322.45
7.0.200.0030.00616.40
7.0.60.0030.07021.77
7.0.50.0100.07322.16
7.0.40.0070.08020.09
7.0.30.0070.07720.04
7.0.20.0000.08320.03
7.0.10.0030.08720.03
7.0.00.0030.08320.02
5.6.280.0100.06721.16
5.6.210.0100.06720.66
5.6.200.0070.08721.01
5.6.190.0030.08021.06
5.6.180.0070.07721.07
5.6.170.0030.08021.01
5.6.160.0000.08021.02
5.6.150.0030.08321.15
5.6.140.0070.05721.10
5.6.130.0100.07321.14
5.6.120.0030.08321.13
5.6.110.0070.08721.04
5.6.100.0070.07320.99
5.6.90.0100.08321.02
5.6.80.0070.07320.38
5.6.70.0000.08020.53
5.6.60.0170.07320.38
5.6.50.0030.07720.36
5.6.40.0030.08320.36
5.6.30.0030.07720.36
5.6.20.0100.07320.54
5.6.10.0070.06720.50
5.6.00.0030.07720.37
5.5.350.0070.05320.36
5.5.340.0100.07720.89
5.5.330.0100.07720.88
5.5.320.0070.05720.90
5.5.310.0070.07020.94
5.5.300.0070.07720.68
5.5.290.0000.08720.86
5.5.280.0000.05720.74
5.5.270.0000.09020.96
5.5.260.0070.08020.88
5.5.250.0030.08320.69
5.5.240.0130.07320.17
5.5.230.0070.07720.25
5.5.220.0070.07320.23
5.5.210.0070.07720.04
5.5.200.0030.08020.20
5.5.190.0100.06320.01
5.5.180.0030.08320.04
5.5.160.0000.08020.26
5.5.150.0070.07720.25
5.5.140.0130.07320.13
5.5.130.0030.07020.21
5.5.120.0030.08020.05
5.5.110.0000.08020.15
5.5.100.0000.08320.00
5.5.90.0030.07720.04
5.5.80.0030.07320.05
5.5.70.0270.05720.05
5.5.60.0130.07320.01
5.5.50.0070.07320.21
5.5.40.0100.06720.04
5.5.30.0070.06020.20
5.5.20.0030.07320.11
5.5.10.0030.07320.06
5.5.00.0000.08020.01

preferences:
34.57 ms | 401 KiB | 5 Q