3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Composite { public function a(); public function b(); } interface ComponentA { public function a(); } interface ComponentB { public function b(); } class Whatever implements Composite, ComponentA, ComponentB { public function a() { } public function b() { } }

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.0040.01118.40
8.3.50.0130.00718.04
8.3.40.0090.00618.64
8.3.30.0090.00618.54
8.3.20.0070.00020.21
8.3.10.0070.00021.67
8.3.00.0050.00319.56
8.2.180.0150.00616.50
8.2.170.0000.01522.96
8.2.160.0090.00618.84
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0000.00719.46
8.2.120.0040.00426.35
8.2.110.0090.00019.38
8.2.100.0070.00417.77
8.2.90.0060.00319.17
8.2.80.0090.00017.97
8.2.70.0000.00917.50
8.2.60.0040.00418.04
8.2.50.0000.00818.10
8.2.40.0040.00420.43
8.2.30.0000.00719.25
8.2.20.0040.00418.10
8.2.10.0000.00717.90
8.2.00.0040.00418.05
8.1.280.0130.00325.92
8.1.270.0040.00422.13
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0060.00321.31
8.1.230.0070.00319.22
8.1.220.0030.00617.74
8.1.210.0050.00518.77
8.1.200.0030.00617.23
8.1.190.0050.00317.23
8.1.180.0000.00718.10
8.1.170.0060.00318.70
8.1.160.0000.00719.01
8.1.150.0000.00818.84
8.1.140.0040.00419.52
8.1.130.0070.00318.81
8.1.120.0030.00517.45
8.1.110.0000.00817.28
8.1.100.0040.00417.43
8.1.90.0000.00717.39
8.1.80.0040.00417.41
8.1.70.0030.00317.31
8.1.60.0000.00817.56
8.1.50.0050.00317.41
8.1.40.0040.00417.45
8.1.30.0060.00317.65
8.1.20.0050.00317.45
8.1.10.0070.00317.43
8.1.00.0050.00217.35
8.0.300.0040.00418.77
8.0.290.0030.00616.63
8.0.280.0030.00318.30
8.0.270.0070.00017.19
8.0.260.0040.00417.08
8.0.250.0030.00316.79
8.0.240.0070.00016.85
8.0.230.0070.00016.85
8.0.220.0040.00416.79
8.0.210.0030.00316.87
8.0.200.0040.00416.76
8.0.190.0050.00216.77
8.0.180.0000.00716.83
8.0.170.0030.00316.78
8.0.160.0060.00316.79
8.0.150.0030.00316.68
8.0.140.0000.00816.82
8.0.130.0040.00313.21
8.0.120.0040.00416.77
8.0.110.0030.00316.86
8.0.100.0040.00416.87
8.0.90.0000.00716.72
8.0.80.0030.01216.86
8.0.70.0080.00016.91
8.0.60.0000.00716.73
8.0.50.0070.00016.88
8.0.30.0120.00716.97
8.0.20.0100.00917.40
8.0.10.0080.00016.79
8.0.00.0130.00316.61
7.4.330.0000.00515.55
7.4.320.0070.00016.57
7.4.300.0030.00316.57
7.4.290.0100.00016.40
7.4.280.0080.00016.33
7.4.270.0070.00016.54
7.4.260.0000.00716.35
7.4.250.0030.00516.38
7.4.240.0000.00716.50
7.4.230.0070.00016.55
7.4.220.0080.00916.48
7.4.210.0030.01216.62
7.4.200.0040.00416.62
7.4.160.0060.01316.18
7.4.150.0090.00917.40
7.4.140.0120.00817.86
7.4.130.0070.01716.47
7.4.120.0110.00916.43
7.4.110.0150.00416.31
7.4.100.0110.00816.50
7.4.90.0120.00616.35
7.4.80.0070.01019.39
7.4.70.0060.01016.40
7.4.60.0060.00916.40
7.4.50.0000.01916.44
7.4.40.0080.00816.40
7.4.30.0150.00616.37
7.4.00.0040.01414.88
7.3.330.0000.00513.00
7.3.320.0000.00513.17
7.3.310.0050.00216.18
7.3.300.0000.00616.12
7.3.290.0110.00516.15
7.3.280.0070.00916.14
7.3.270.0140.00417.40
7.3.260.0070.01416.41
7.3.250.0080.01016.28
7.3.240.0140.00616.28
7.3.230.0150.00616.42
7.3.210.0110.00616.39
7.3.200.0110.00816.35
7.3.190.0060.01116.08
7.3.180.0060.01216.36
7.3.170.0070.01116.41
7.3.160.0050.01316.16
7.3.120.0100.01014.64
7.3.110.0070.01014.91
7.3.100.0090.00314.73
7.3.90.0100.00314.55
7.3.80.0100.00614.75
7.3.70.0030.00614.62
7.3.60.0030.00914.42
7.3.50.0090.00614.52
7.3.40.0040.00714.52
7.3.30.0060.00914.52
7.3.20.0000.01616.71
7.3.10.0090.00516.61
7.3.00.0030.01116.51
7.2.330.0040.01516.59
7.2.320.0090.00916.50
7.2.310.0130.01016.37
7.2.300.0140.00616.55
7.2.290.0090.00916.21
7.2.250.0030.01715.04
7.2.240.0100.01014.75
7.2.230.0000.01714.77
7.2.220.0070.00414.77
7.2.210.0040.00815.05
7.2.200.0060.00614.84
7.2.190.0000.01415.00
7.2.180.0030.01215.07
7.2.170.0030.00715.01
7.2.130.0090.00616.73
7.2.120.0000.01216.65
7.2.110.0030.01016.94
7.2.100.0080.00416.88
7.2.90.0040.00716.71
7.2.80.0030.00717.00
7.2.70.0060.00616.48
7.2.60.0090.00816.76
7.2.50.0080.00416.82
7.2.40.0070.01016.56
7.2.30.0030.01416.90
7.2.20.0070.00716.86
7.2.10.0120.00316.76
7.2.00.0040.00716.70
7.1.330.0110.00315.75
7.1.320.0060.00315.29
7.1.310.0000.01015.59
7.1.300.0090.00015.64
7.1.290.0040.00415.74
7.1.280.0110.00415.67
7.1.270.0060.00315.72
7.1.260.0030.00915.48
7.1.250.0090.00615.86
7.1.200.0030.01015.71
7.1.70.0180.01615.32
7.1.60.0470.00533.22
7.1.50.0340.01432.77
7.1.40.0350.01432.52
7.1.30.0390.01932.52
7.1.20.0190.02832.53
7.1.10.0270.00614.59
7.1.00.0160.01514.93
7.0.200.0230.01015.01
7.0.190.0210.01414.84
7.0.180.0380.00714.10
7.0.170.0250.01214.23
7.0.160.0530.01114.31
7.0.150.0250.01014.41
7.0.140.0260.00914.39
7.0.130.0220.01014.48
7.0.120.0310.00714.49
7.0.110.0240.01114.28
7.0.100.0170.01714.46
7.0.90.0270.00814.08
7.0.80.0220.01014.52
7.0.70.0210.01514.45
7.0.60.0260.01014.15
7.0.50.0320.01114.57
7.0.40.0180.02014.46
7.0.30.0470.00614.54
7.0.20.0240.00614.36
7.0.10.0230.00814.25
7.0.00.0160.01214.23

preferences:
54.06 ms | 400 KiB | 5 Q