3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Bar {} interface Baz extends Bar {}; interface Foo { public function art(Bar $bar); } interface Fooz extends Foo { public function art(Baz $bar); } class A implements Fooz { public function art(Baz $bar) { var_dump($bar); } }

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.0070.00716.63
8.3.50.0120.00722.11
8.3.40.0090.00918.53
8.3.30.0090.00618.54
8.3.20.0070.00020.20
8.3.10.0030.00523.52
8.3.00.0080.00019.13
8.2.180.0120.00318.09
8.2.170.0070.00722.96
8.2.160.0170.00020.35
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0000.00726.16
8.2.120.0040.00417.50
8.2.110.0050.00520.35
8.2.100.0040.00717.80
8.2.90.0000.00819.08
8.2.80.0040.00417.97
8.2.70.0030.00617.50
8.2.60.0030.00617.90
8.2.50.0000.00918.07
8.2.40.0050.00319.52
8.2.30.0000.00720.72
8.2.20.0040.00417.49
8.2.10.0040.00418.04
8.2.00.0070.00017.86
8.1.280.0070.00725.92
8.1.270.0000.00724.66
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0060.00322.47
8.1.230.0090.00317.64
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0050.00517.13
8.1.190.0000.00816.88
8.1.180.0000.00818.10
8.1.170.0050.00318.53
8.1.160.0000.00822.07
8.1.150.0040.00418.83
8.1.140.0000.00819.46
8.1.130.0000.00717.61
8.1.120.0000.00717.37
8.1.110.0050.00317.42
8.1.100.0030.00417.41
8.1.90.0040.00417.29
8.1.80.0000.00717.34
8.1.70.0030.00317.34
8.1.60.0000.00817.35
8.1.50.0100.00317.27
8.1.40.0000.00717.43
8.1.30.0040.00417.57
8.1.20.0050.00317.57
8.1.10.0000.00717.31
8.1.00.0030.00517.24
8.0.300.0000.00718.77
8.0.290.0080.00016.75
8.0.280.0000.00818.37
8.0.270.0020.00517.19
8.0.260.0050.00217.19
8.0.250.0000.00716.88
8.0.240.0070.00016.96
8.0.230.0040.00416.96
8.0.220.0000.00716.78
8.0.210.0030.00316.76
8.0.200.0030.00517.00
8.0.190.0040.00416.84
8.0.180.0000.00716.87
8.0.170.0040.00416.88
8.0.160.0070.00016.84
8.0.150.0020.00516.89
8.0.140.0030.00316.75
8.0.130.0030.00313.30
8.0.120.0000.00816.74
8.0.110.0050.00216.88
8.0.100.0000.00816.87
8.0.90.0030.00516.87
8.0.80.0090.01116.84
8.0.70.0040.00416.83
8.0.60.0040.00416.71
8.0.50.0080.00016.99
8.0.30.0090.00917.01
8.0.20.0070.01117.40
8.0.10.0040.00416.87
8.0.00.0100.00716.70
7.4.330.0030.00315.08
7.4.320.0030.00316.37
7.4.300.0060.00016.35
7.4.290.0000.00816.45
7.4.280.0040.00416.42
7.4.270.0000.00716.50
7.4.260.0040.00416.51
7.4.250.0020.00516.44
7.4.240.0000.00716.51
7.4.230.0040.00416.41
7.4.220.0060.01216.47
7.4.210.0030.01116.47
7.4.200.0040.00416.54
7.4.160.0080.00816.45
7.4.150.0000.01717.40
7.4.140.0100.01417.86
7.4.130.0110.00716.49
7.4.120.0090.01016.45
7.4.110.0120.00616.63
7.4.100.0030.01416.34
7.4.90.0070.01116.29
7.4.80.0070.01119.39
7.4.70.0070.01016.30
7.4.60.0190.00016.36
7.4.50.0000.00816.57
7.4.40.0090.01016.38
7.4.30.0100.00716.41
7.4.10.0090.00916.53
7.4.00.0050.01315.45
7.3.330.0050.00013.18
7.3.320.0060.00013.09
7.3.310.0030.00316.05
7.3.300.0070.00016.23
7.3.290.0000.00716.28
7.3.280.0110.00716.22
7.3.270.0060.00917.40
7.3.260.0120.01216.43
7.3.250.0120.01516.27
7.3.240.0120.00616.31
7.3.230.0120.00616.39
7.3.210.0040.01216.39
7.3.200.0000.01716.32
7.3.190.0080.00816.31
7.3.180.0030.01316.40
7.3.170.0060.01116.38
7.3.160.0100.00616.38
7.3.130.0090.00616.35
7.3.120.0040.01116.16
7.3.110.0070.01016.29
7.3.100.0060.00916.25
7.3.90.0030.01616.29
7.3.80.0070.00316.21
7.3.70.0000.01316.29
7.3.60.0070.01116.06
7.3.50.0070.00716.22
7.3.40.0070.00716.22
7.3.30.0110.00716.21
7.3.20.0030.01018.14
7.3.10.0070.00718.09
7.3.00.0060.00917.93
7.2.330.0100.00716.52
7.2.320.0120.01116.55
7.2.310.0000.01616.41
7.2.300.0090.00916.52
7.2.290.0090.01216.52
7.2.260.0140.00716.32
7.2.250.0060.01216.50
7.2.240.0100.00716.59
7.2.230.0090.00616.63
7.2.220.0070.00316.39
7.2.210.0030.01316.31
7.2.200.0040.01116.45
7.2.190.0080.00416.25
7.2.180.0090.00016.57
7.2.170.0110.00816.31
7.2.160.0040.00716.33
7.2.150.0070.00718.25
7.2.140.0070.00418.26
7.2.130.0110.00418.31
7.2.120.0030.00718.22
7.2.110.0070.00718.33
7.2.100.0090.00318.42
7.2.90.0100.01018.30
7.2.80.0110.00418.22
7.2.70.0100.00718.07
7.2.60.0110.00717.39
7.2.50.0130.00317.35
7.2.40.0000.01118.26
7.2.30.0060.00618.41
7.2.20.0000.01018.26
7.2.10.0040.01118.18
7.2.00.0090.00618.16
7.1.330.0090.00617.30
7.1.320.0000.01117.24
7.1.310.0030.00617.18
7.1.300.0030.00717.27
7.1.290.0080.00817.22
7.1.280.0120.00417.05
7.1.270.0040.01117.23
7.1.260.0070.01017.15
7.1.250.0030.01017.17
7.1.240.0060.00917.33
7.1.230.0060.00917.30
7.1.220.0060.00617.22
7.1.210.0090.00916.98
7.1.200.0120.00516.44
7.1.190.0030.00917.04
7.1.180.0100.00617.13
7.1.170.0100.00717.12
7.1.160.0000.01217.32
7.1.150.0070.01017.25
7.1.140.0000.01417.23
7.1.130.0100.00017.17
7.1.120.0000.01617.27
7.1.110.0090.00617.26
7.1.100.0000.01317.25
7.1.90.0120.00417.17
7.1.80.0100.00017.28
7.1.70.0040.01116.89
7.1.60.0050.01418.39
7.1.50.0080.01117.08
7.1.40.0030.00717.28
7.1.30.0060.00317.39
7.1.20.0070.01017.18
7.1.10.0060.00817.30
7.1.00.0060.04019.63
7.0.330.0030.01016.72
7.0.320.0030.00916.81
7.0.310.0070.00416.77
7.0.300.0070.01016.90
7.0.290.0040.00817.04
7.0.280.0070.00416.81
7.0.270.0060.00617.02
7.0.260.0030.01216.85
7.0.250.0030.01016.86
7.0.240.0030.00916.82
7.0.230.0000.01217.06
7.0.220.0070.00316.71
7.0.210.0030.00616.71
7.0.200.0200.00715.71
7.0.190.0070.00717.03
7.0.180.0060.00616.94
7.0.170.0090.00016.82
7.0.160.0060.00816.93
7.0.150.0060.00617.05
7.0.140.0080.00617.00
7.0.130.0030.01016.80
7.0.120.0040.00716.91
7.0.110.0030.01216.82
7.0.100.0060.00916.89
7.0.90.0000.01016.76
7.0.80.0070.00716.93
7.0.70.0080.00316.86
7.0.60.0070.04118.41
7.0.50.0070.04517.35
7.0.40.0030.03417.61
7.0.30.0060.04017.52
7.0.20.0220.04017.49
7.0.10.0080.02517.54
7.0.00.0070.04517.54
5.6.400.0000.01016.04
5.6.390.0040.01115.78
5.6.380.0100.00715.99
5.6.370.0110.00415.80
5.6.360.0060.00315.76
5.6.350.0060.00615.80
5.6.340.0040.00716.14
5.6.330.0030.00915.66
5.6.320.0030.00615.77
5.6.310.0090.00915.79
5.6.300.0030.00715.88
5.6.290.0060.00615.77
5.6.280.0030.01818.57
5.6.270.0030.01016.11
5.6.260.0090.00315.77
5.6.250.0070.00415.70
5.6.240.0100.00315.71
5.6.230.0000.01415.77
5.6.220.0030.01015.75
5.6.210.0070.03718.21
5.6.200.0050.03417.00
5.6.190.0060.02418.12
5.6.180.0170.04218.16
5.6.170.0160.04318.22
5.6.160.0070.03218.16
5.6.150.0110.04216.89
5.6.140.0030.02516.88
5.6.130.0110.01816.94
5.6.120.0030.04618.40
5.6.110.0050.04518.33
5.6.100.0050.02718.30
5.6.90.0020.02418.35
5.6.80.0030.03317.96
5.6.70.0070.00315.57
5.6.60.0040.00815.71
5.6.50.0040.00715.58
5.6.40.0000.01415.64
5.6.30.0110.00415.65
5.6.20.0120.00315.70
5.6.10.0040.01115.54
5.6.00.0090.00615.54
5.5.380.0030.00715.70
5.5.370.0060.00615.86
5.5.360.0000.01215.57
5.5.350.2140.02318.10
5.5.340.0050.04616.76
5.5.330.0080.02917.79
5.5.320.0140.02417.91
5.5.310.0200.02217.99
5.5.300.0050.02516.87
5.5.290.0080.03116.85
5.5.280.0120.03018.21
5.5.270.0030.05018.26
5.5.260.0080.03318.18
5.5.250.0110.03518.10
5.5.240.0140.03717.91
5.5.230.0060.00615.59
5.5.220.0060.00915.54
5.5.210.0030.01315.59
5.5.200.0060.00915.54
5.5.190.0040.01115.68
5.5.180.0100.00315.20
5.5.170.0100.00715.36
5.5.160.0090.00615.57
5.5.150.0000.01515.63
5.5.140.0030.00915.35
5.5.130.0070.00715.43
5.5.120.0000.01815.57
5.5.110.0090.00615.47
5.5.100.0110.00615.65
5.5.90.0090.00915.50
5.5.80.0050.00515.75
5.5.70.0030.00615.48
5.5.60.0100.00615.33
5.5.50.0120.00315.64
5.5.40.0070.01015.60
5.5.30.0070.00715.52
5.5.20.0030.00715.43
5.5.10.0110.00315.36
5.5.00.0030.00615.25

preferences:
66.12 ms | 401 KiB | 5 Q