3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface a { public function foo(); } interface b extends a { public function baz(Baz $baz); } // This will work class c implements b { public function foo() { } public function baz(Baz $baz) { } } // This will not work and result in a fatal error class d implements b { public function foo() { } public function baz(Baz $baz) { } }

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.0090.00918.29
8.3.50.0170.00322.05
8.3.40.0110.00418.46
8.3.30.0100.00319.09
8.3.20.0040.00420.21
8.3.10.0050.00322.14
8.3.00.0090.00022.39
8.2.180.0120.00618.04
8.2.170.0090.00922.96
8.2.160.0080.00520.84
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00419.36
8.2.110.0000.00922.02
8.2.100.0040.00717.78
8.2.90.0040.00419.22
8.2.80.0060.00317.97
8.2.70.0040.00417.63
8.2.60.0040.00417.79
8.2.50.0050.00318.07
8.2.40.0060.00318.09
8.2.30.0070.00017.99
8.2.20.0030.00517.45
8.2.10.0040.00417.68
8.2.00.0040.00817.58
8.1.280.0000.01425.92
8.1.270.0000.00821.91
8.1.260.0040.00426.35
8.1.250.0130.00628.09
8.1.240.0060.00323.98
8.1.230.0110.00019.12
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0080.00416.75
8.1.190.0040.00417.30
8.1.180.0080.00018.10
8.1.170.0060.00318.64
8.1.160.0000.00722.05
8.1.150.0040.00418.45
8.1.140.0070.00317.38
8.1.130.0030.00317.75
8.1.120.0040.00417.33
8.1.110.0000.00717.42
8.1.100.0000.00717.40
8.1.90.0000.00817.37
8.1.80.0050.00217.27
8.1.70.0030.00317.40
8.1.60.0050.00317.54
8.1.50.0050.00317.46
8.1.40.0050.00217.34
8.1.30.0040.00417.50
8.1.20.0000.00817.60
8.1.10.0040.00417.31
8.1.00.0040.00417.28
8.0.300.0000.00718.77
8.0.290.0040.00417.05
8.0.280.0000.00718.38
8.0.270.0070.00017.20
8.0.260.0030.00316.80
8.0.250.0030.00316.93
8.0.240.0040.00216.88
8.0.230.0040.00416.84
8.0.220.0030.00316.77
8.0.210.0070.00016.87
8.0.200.0000.00716.88
8.0.190.0000.00716.76
8.0.180.0040.00416.85
8.0.170.0040.00416.74
8.0.160.0080.00016.86
8.0.150.0030.00516.77
8.0.140.0070.00016.64
8.0.130.0030.00313.18
8.0.120.0070.00016.77
8.0.110.0000.00716.85
8.0.100.0000.00716.65
8.0.90.0040.00416.64
8.0.80.0110.00316.86
8.0.70.0070.00016.71
8.0.60.0000.00716.81
8.0.50.0050.00316.69
8.0.30.0130.00617.07
8.0.20.0120.00817.40
8.0.10.0000.00716.79
8.0.00.0070.01216.73
7.4.330.0000.00515.08
7.4.320.0030.00316.36
7.4.300.0060.00016.44
7.4.290.0030.00616.44
7.4.280.0000.00716.52
7.4.270.0000.00716.55
7.4.260.0040.00416.37
7.4.250.0080.00016.40
7.4.240.0050.00216.46
7.4.230.0000.00816.28
7.4.220.0100.01616.50
7.4.210.0070.00716.50
7.4.200.0030.00316.64
7.4.190.0040.00416.40
7.4.160.0000.01516.16
7.4.150.0100.01317.40
7.4.140.0080.00917.86
7.4.130.0060.01116.43
7.4.120.0110.00516.37
7.4.110.0120.00616.50
7.4.100.0080.00816.47
7.4.90.0120.00416.46
7.4.80.0030.01319.39
7.4.70.0100.01416.48
7.4.60.0100.00616.28
7.4.50.0050.00016.34
7.4.40.0030.01422.77
7.4.30.0090.00616.50
7.4.00.0030.01214.51
7.3.330.0030.00312.96
7.3.320.0000.00612.94
7.3.310.0000.00716.22
7.3.300.0040.00416.22
7.3.290.0120.00316.23
7.3.280.0050.01016.21
7.3.270.0080.00917.40
7.3.260.0130.01016.24
7.3.250.0120.00516.19
7.3.240.0110.00716.47
7.3.230.0090.00916.39
7.3.210.0110.00616.26
7.3.200.0100.00719.39
7.3.190.0270.02616.15
7.3.180.0060.01516.22
7.3.170.0030.01316.35
7.3.160.0040.01216.47
7.3.120.0060.00614.84
7.2.330.0060.01116.66
7.2.320.0110.01116.58
7.2.310.0060.01016.51
7.2.300.0060.01016.35
7.2.290.0120.00616.30
7.2.60.0040.01116.47
7.2.00.0000.01219.41
7.1.200.0000.01015.82
7.1.100.0030.00917.69
7.1.70.0000.00716.84
7.1.60.0100.01319.82
7.1.50.0100.01016.79
7.1.00.0100.07022.36
7.0.200.0070.00716.70
7.0.140.0030.07321.95
7.0.60.0130.08021.72
7.0.50.0000.04317.85
7.0.40.0100.08320.20
7.0.30.0400.04720.13
7.0.20.0270.07720.16
7.0.10.0170.05720.08
7.0.00.0070.05720.19
5.6.210.0070.08320.66
5.6.200.0070.04018.16
5.6.190.0070.09020.63
5.6.180.3230.04320.52
5.6.170.0270.05320.57
5.6.160.0070.04020.52
5.6.150.0130.07318.19
5.6.140.0070.06718.23
5.6.130.0100.05718.22
5.6.120.0030.06021.15
5.6.110.0070.08721.08
5.6.100.0070.08721.03
5.6.90.0130.06320.98
5.6.80.0130.06720.36
5.5.350.0230.04720.38
5.5.340.0030.05017.98
5.5.330.0030.08720.26
5.5.320.0270.05020.36
5.5.310.0200.03720.27
5.5.300.0030.04017.95
5.5.290.0170.06017.96
5.5.280.0030.04720.78
5.5.270.0170.06320.80
5.5.260.0000.05720.80
5.5.250.0070.08020.62
5.5.240.0100.03320.19
5.4.450.0170.06719.42
5.4.440.0170.05319.52
5.4.430.0230.03719.64
5.4.420.0200.06019.31
5.4.410.0130.05719.51
5.4.400.0230.07319.25
5.4.390.0170.04019.24
5.4.380.0270.04719.06
5.4.370.0170.04019.32
5.4.360.0170.04319.06
5.4.350.0230.07318.85
5.4.340.0200.04018.88
5.4.320.0300.06718.99
5.4.310.0270.06718.98
5.4.300.0270.03719.07
5.4.290.0170.06318.88
5.4.280.0200.05718.99
5.4.270.0270.06319.20
5.4.260.0200.07718.86
5.4.250.0200.04319.19
5.4.240.0270.05018.98
5.4.230.0170.06719.18
5.4.220.0270.06718.87
5.4.210.0200.07018.97
5.4.200.0300.07019.08
5.4.190.0200.07319.21
5.4.180.0200.05018.84
5.4.170.0300.05719.18
5.4.160.0170.04718.92
5.4.150.0230.06718.92
5.4.140.0200.04316.47
5.4.130.0130.06716.38
5.4.120.0170.05016.55
5.4.110.0200.07316.50
5.4.100.0200.04316.32
5.4.90.0270.06716.45
5.4.80.0200.05316.41
5.4.70.0330.04316.58
5.4.60.0230.04016.51
5.4.50.0270.06716.42
5.4.40.0230.06716.42
5.4.30.0230.05016.23
5.4.20.0170.04316.52
5.4.10.0300.05716.30
5.4.00.0130.04715.78
5.3.290.0230.05314.66
5.3.280.0270.02714.66
5.3.270.0170.04714.82
5.3.260.0230.04314.61
5.3.250.0270.05314.52
5.3.240.0230.05714.77
5.3.230.0200.05714.59
5.3.220.0230.05014.54
5.3.210.0200.04314.44
5.3.200.0230.04314.54
5.3.190.0230.05714.69
5.3.180.0130.06314.49
5.3.170.0130.04714.57
5.3.160.0230.06714.68
5.3.150.0200.05714.62
5.3.140.0270.05014.46
5.3.130.0170.05314.45
5.3.120.0300.04314.46
5.3.110.0170.04714.67
5.3.100.0200.06014.12
5.3.90.0270.07313.95
5.3.80.0300.06013.95
5.3.70.0230.07713.93
5.3.60.0270.04714.06
5.3.50.0230.06013.93
5.3.40.0200.05713.88
5.3.30.0200.07013.91
5.3.20.0270.06313.71
5.3.10.0170.05013.75
5.3.00.0330.05313.57
5.2.170.0200.02712.04
5.2.160.0230.06012.04
5.2.150.0170.04712.04
5.2.140.0200.04712.04
5.2.130.0130.04712.04
5.2.120.0230.03712.04
5.2.110.0230.02712.04
5.2.100.0270.03312.04
5.2.90.0230.05312.04
5.2.80.0200.05012.04
5.2.70.0130.06012.04
5.2.60.0230.05312.04
5.2.50.0070.06712.04
5.2.40.0130.06012.04
5.2.30.0200.05012.04
5.2.20.0230.05012.04
5.2.10.0200.05712.04
5.2.00.0130.05712.04
5.1.60.0200.03012.04
5.1.50.0100.05012.04
5.1.40.0130.02712.04
5.1.30.0170.02312.04
5.1.20.0100.06312.04
5.1.10.0200.03712.04
5.1.00.0130.03712.04
5.0.50.0100.02012.04
5.0.40.0000.03312.04
5.0.30.0070.05712.04
5.0.20.0070.04312.04
5.0.10.0030.02312.04
5.0.00.0070.03312.04
4.4.90.0070.03012.04
4.4.80.0100.02312.04
4.4.70.0030.03012.04
4.4.60.0070.01712.04
4.4.50.0070.03712.04
4.4.40.0070.05712.04
4.4.30.0070.02312.04
4.4.20.0030.04012.04
4.4.10.0070.03012.04
4.4.00.0030.04012.04
4.3.110.0070.03712.04
4.3.100.0170.02012.04
4.3.90.0100.03712.04
4.3.80.0070.05012.04
4.3.70.0070.02712.04
4.3.60.0130.02712.04
4.3.50.0070.02312.04
4.3.40.0100.03012.04
4.3.30.0030.03712.04
4.3.20.0070.02712.04
4.3.10.0030.02312.04
4.3.00.0030.03712.04

preferences:
37.91 ms | 401 KiB | 5 Q