3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface FindByNameInterface { public function getFindAllByNameSelect(); } interface FetchableInterface { public function fetchAll(Zend_Db_Select $select); } interface FetchableByNameInterface extends FetchableInterface, FindByNameInterface { } class OurGateway implements FetchableByNameInterface { public function fetchAll(Zend_Db_Select $select) {} public function getFindAllByNameSelect() {} } class SomeMapper { protected $gateway; public function __construct(FetchableByNameInterface $someGateway) { $this->gateway = $someGateway; } } new SomeMapper(new OurGateway);

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.0120.00918.28
8.3.50.0100.01022.05
8.3.40.0070.00718.68
8.3.30.0110.01118.71
8.3.20.0040.00418.73
8.3.10.0050.00321.10
8.3.00.0050.00523.65
8.2.180.0070.00716.75
8.2.170.0110.00422.96
8.2.160.0130.00020.52
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00419.77
8.2.110.0100.00022.10
8.2.100.0120.00017.78
8.2.90.0030.00519.17
8.2.80.0000.00717.97
8.2.70.0040.00417.63
8.2.60.0030.00618.04
8.2.50.0040.00418.07
8.2.40.0070.00017.91
8.2.30.0000.00721.22
8.2.20.0040.00417.66
8.2.10.0030.00517.77
8.2.00.0040.00417.57
8.1.280.0090.01225.92
8.1.270.0080.00023.81
8.1.260.0120.00326.35
8.1.250.0040.00428.09
8.1.240.0050.00522.27
8.1.230.0040.00721.02
8.1.220.0040.00418.77
8.1.210.0060.00318.98
8.1.200.0070.00417.23
8.1.190.0000.00917.28
8.1.180.0000.00818.10
8.1.170.0060.00318.62
8.1.160.0040.00418.84
8.1.150.0070.00018.59
8.1.140.0040.00417.45
8.1.130.0000.00617.70
8.1.120.0000.00717.36
8.1.110.0050.00317.31
8.1.100.0040.00417.37
8.1.90.0000.00717.37
8.1.80.0040.00417.51
8.1.70.0030.00317.46
8.1.60.0080.00017.54
8.1.50.0040.00417.31
8.1.40.0000.01017.50
8.1.30.0040.00417.61
8.1.20.0060.00317.52
8.1.10.0040.00417.55
8.1.00.0030.00617.41
8.0.300.0060.00319.94
8.0.290.0000.00717.15
8.0.280.0050.00318.45
8.0.270.0090.00016.94
8.0.260.0070.00016.83
8.0.250.0080.00017.05
8.0.240.0070.00316.91
8.0.230.0040.00416.96
8.0.220.0000.00716.93
8.0.210.0030.00316.77
8.0.200.0100.00016.88
8.0.190.0040.00416.98
8.0.180.0000.00716.82
8.0.170.0070.00016.82
8.0.160.0070.00016.88
8.0.150.0070.00016.85
8.0.140.0060.00316.75
8.0.130.0070.00013.33
8.0.120.0040.00416.75
8.0.110.0000.00816.80
8.0.100.0040.00417.03
8.0.90.0040.00416.80
8.0.80.0130.00316.86
8.0.70.0050.00317.08
8.0.60.0000.00716.87
8.0.50.0000.00716.91
8.0.30.0110.00717.12
8.0.20.0100.01017.40
8.0.10.0040.00416.91
8.0.00.0130.00516.62
7.4.330.0020.00213.43
7.4.320.0000.00616.41
7.4.300.0030.00316.59
7.4.290.0070.00016.41
7.4.280.0070.00016.58
7.4.270.0050.00316.45
7.4.260.0030.00313.22
7.4.250.0040.00416.40
7.4.240.0070.00016.56
7.4.230.0000.00716.48
7.4.220.0100.01016.53
7.4.210.0080.00616.57
7.4.200.0050.00216.65
7.4.190.0060.00016.43
7.4.160.0100.00716.47
7.4.150.0090.00917.40
7.4.140.0120.01217.86
7.4.130.0080.01516.63
7.4.120.0150.00816.62
7.4.110.0110.00616.46
7.4.100.0030.01416.42
7.4.90.0070.01116.60
7.4.80.0060.01019.39
7.4.70.0060.01216.50
7.4.60.0120.00616.55
7.4.50.0070.00016.44
7.4.40.0100.00322.52
7.4.30.0100.00616.48
7.4.00.0030.01214.79
7.3.330.0000.00513.21
7.3.320.0020.00213.02
7.3.310.0000.00716.23
7.3.300.0000.00616.10
7.3.290.0140.00016.27
7.3.280.0080.00916.27
7.3.270.0100.00717.40
7.3.260.0090.00818.24
7.3.250.0050.01516.32
7.3.240.0100.01016.46
7.3.230.0100.00616.47
7.3.210.0030.01416.50
7.3.200.0100.01219.39
7.3.190.0070.01416.36
7.3.180.0100.00616.43
7.3.170.0090.00616.39
7.3.160.0100.01016.15
7.3.120.0000.01614.75
7.2.330.0060.01216.43
7.2.320.0070.01116.67
7.2.310.0110.00716.36
7.2.300.0110.00616.36
7.2.290.0070.01116.43
7.2.60.0120.00016.77
7.2.50.0030.01017.10
7.1.200.0170.00715.87
7.1.70.0030.00616.72
7.1.60.0080.00819.40
7.1.50.0110.01416.84
7.1.00.0000.06022.44
7.0.200.0030.00616.94
7.0.140.0030.06722.21
7.0.60.0130.07719.96
7.0.50.0070.08317.88
7.0.40.0070.04320.18
7.0.30.0230.03720.26
7.0.20.0300.05320.12
7.0.10.0030.08320.19
7.0.00.0230.06020.25
5.6.280.0000.07721.07
5.6.210.0030.04020.47
5.6.200.0130.07318.15
5.6.190.0070.08320.42
5.6.180.0430.06320.48
5.6.170.0200.04720.70
5.6.160.0030.08720.49
5.6.150.0000.04718.28
5.6.140.0000.04318.13
5.6.130.0170.07718.17
5.6.120.0100.08321.15
5.6.110.0070.05321.14
5.6.100.0100.08720.96
5.6.90.0070.06721.13
5.6.80.0130.07020.40
5.5.350.0130.07320.51
5.5.340.0070.07318.02
5.5.330.0130.08020.40
5.5.320.0300.08020.36
5.5.310.0200.07020.51
5.5.300.0100.07717.92
5.5.290.0070.08717.96
5.5.280.0070.08020.87
5.5.270.0030.07320.73
5.5.260.0030.08020.69
5.5.250.0170.07720.79
5.5.240.0100.03020.20
5.4.450.0030.08319.48
5.4.440.0200.06719.33
5.4.430.0100.05319.42
5.4.420.0000.08719.56
5.4.410.0070.04719.05
5.4.400.0070.04719.21
5.4.390.0100.07719.16
5.4.380.0070.03319.20
5.4.370.0130.03319.01
5.4.360.0130.05719.24
5.4.350.0030.06018.86
5.4.340.0070.03718.98
5.4.320.0100.06718.85
5.4.310.0070.07318.93
5.4.300.0030.04018.85
5.4.290.0070.04019.20
5.4.280.0130.06719.24
5.4.270.0100.06719.07
5.4.260.0070.07719.07
5.4.250.0100.06319.11
5.4.240.0030.04019.14
5.4.230.0070.03718.99
5.4.220.0000.07719.15
5.4.210.0100.05718.84
5.4.200.0100.04718.86
5.4.190.0030.07719.27
5.4.180.0000.05018.84
5.4.170.0070.06719.13
5.4.160.0100.07319.12
5.4.150.0030.05319.05
5.4.140.0070.04316.38
5.4.130.0030.06316.46
5.4.120.0100.04316.44
5.4.110.0100.04016.46
5.4.100.0030.06316.72
5.4.90.0170.05716.55
5.4.80.0070.07316.34
5.4.70.0070.06316.43
5.4.60.0100.03716.41
5.4.50.0170.05716.34
5.4.40.0100.06316.38
5.4.30.0070.05716.46
5.4.20.0070.06716.64
5.4.10.0100.06016.27
5.4.00.0070.04715.77
5.3.290.0100.04714.83
5.3.280.0030.05314.60
5.3.270.0030.08014.61
5.3.260.0000.08314.77
5.3.250.0030.07714.66
5.3.240.0030.04014.66
5.3.230.0030.07714.62
5.3.220.0070.03714.57
5.3.210.0070.07014.60
5.3.200.0100.04014.60
5.3.190.0100.06314.56
5.3.180.0000.04714.49
5.3.170.0130.06714.56
5.3.160.0030.03714.57
5.3.150.0030.04714.60
5.3.140.0000.05014.48
5.3.130.0170.06714.47
5.3.120.0100.07014.57
5.3.110.0030.07714.57
5.3.100.0070.04714.09
5.3.90.0000.07714.05
5.3.80.0000.05714.02
5.3.70.0000.06014.00
5.3.60.0070.07013.90
5.3.50.0100.07313.91
5.3.40.0030.05013.91
5.3.30.0070.07713.88
5.3.20.0200.03013.71
5.3.10.0030.04013.67
5.3.00.0130.05013.70
5.2.170.0100.06011.16
5.2.160.0030.03011.16
5.2.150.0130.05011.16
5.2.140.0030.03311.11
5.2.130.0030.05311.13
5.2.120.0130.05311.16
5.2.110.0000.06311.03
5.2.100.0070.05711.07
5.2.90.0070.03011.08
5.2.80.0030.03711.15
5.2.70.0030.05011.05
5.2.60.0000.06311.21
5.2.50.0030.04011.06
5.2.40.0030.05711.00
5.2.30.0070.03311.02
5.2.20.0030.03010.92
5.2.10.0030.02710.75
5.2.00.0000.03010.77
5.1.60.0030.03310.02
5.1.50.0000.0309.99
5.1.40.0030.05310.05
5.1.30.0030.05310.35
5.1.20.0030.03710.52
5.1.10.0070.03010.14
5.1.00.0000.03310.05
5.0.50.0030.0208.70
5.0.40.0070.0178.14
5.0.30.0070.0608.07
5.0.20.0030.0407.98
5.0.10.0000.0238.06
5.0.00.0000.0508.00
4.4.90.0030.0277.49
4.4.80.0100.0137.49
4.4.70.0030.0177.49
4.4.60.0000.0177.49
4.4.50.0000.0207.49
4.4.40.0070.0307.49
4.4.30.0000.0377.49
4.4.20.0030.0277.49
4.4.10.0000.0277.49
4.4.00.0070.0237.49
4.3.110.0000.0277.49
4.3.100.0030.0207.49
4.3.90.0030.0207.49
4.3.80.0070.0207.49
4.3.70.0000.0237.49
4.3.60.0030.0307.49
4.3.50.0070.0237.49
4.3.40.0030.0337.49
4.3.30.0030.0177.49
4.3.20.0070.0307.49
4.3.10.0000.0377.49
4.3.00.0000.0337.49

preferences:
67.61 ms | 401 KiB | 5 Q