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 { } 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.0140.00716.73
8.3.50.0110.00921.98
8.3.40.0060.01218.65
8.3.30.0090.00618.38
8.3.20.0000.00820.07
8.3.10.0030.00523.53
8.3.00.0080.00019.25
8.2.180.0140.00416.75
8.2.170.0030.01022.96
8.2.160.0100.00720.35
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00417.63
8.2.110.0030.00620.52
8.2.100.0080.00317.80
8.2.90.0040.00419.22
8.2.80.0030.00517.97
8.2.70.0000.00817.25
8.2.60.0080.00317.93
8.2.50.0060.00618.07
8.2.40.0080.00019.27
8.2.30.0080.00020.50
8.2.20.0050.00317.50
8.2.10.0000.00718.05
8.2.00.0030.00317.98
8.1.280.0140.00025.92
8.1.270.0000.00824.66
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0030.00622.47
8.1.230.0060.00617.66
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0000.00917.25
8.1.180.0060.00318.10
8.1.170.0040.00418.62
8.1.160.0050.00222.00
8.1.150.0040.00418.80
8.1.140.0000.00719.49
8.1.130.0030.00317.63
8.1.120.0070.00017.38
8.1.110.0050.00217.26
8.1.100.0000.00717.40
8.1.90.0000.00717.29
8.1.80.0000.01017.41
8.1.70.0070.00017.30
8.1.60.0000.00917.52
8.1.50.0140.00017.48
8.1.40.0040.00417.49
8.1.30.0040.00417.48
8.1.20.0060.00317.55
8.1.10.0030.00617.39
8.1.00.0040.00417.16
8.0.300.0000.00818.77
8.0.290.0000.00716.75
8.0.280.0070.00018.37
8.0.270.0040.00417.20
8.0.260.0000.00817.12
8.0.250.0030.00316.91
8.0.240.0080.00016.94
8.0.230.0000.00816.88
8.0.220.0040.00416.83
8.0.210.0000.00716.87
8.0.200.0070.00016.88
8.0.190.0000.00816.84
8.0.180.0030.00516.86
8.0.170.0020.00516.93
8.0.160.0000.00716.90
8.0.150.0040.00416.73
8.0.140.0000.00716.80
8.0.130.0000.00613.34
8.0.120.0000.00716.87
8.0.110.0000.00916.88
8.0.100.0040.00416.84
8.0.90.0030.00517.00
8.0.80.0070.01416.87
8.0.70.0000.00716.66
8.0.60.0000.00816.86
8.0.50.0020.00516.82
8.0.30.0060.01417.01
8.0.20.0090.01017.40
8.0.10.0000.00717.04
8.0.00.0120.00516.67
7.4.330.0050.00015.08
7.4.320.0030.00316.52
7.4.300.0060.00016.44
7.4.290.0040.00416.52
7.4.280.0040.00416.52
7.4.270.0000.00716.40
7.4.260.0080.00016.54
7.4.250.0050.00216.52
7.4.240.0050.00216.53
7.4.230.0070.00016.63
7.4.220.0130.00316.50
7.4.210.0100.00316.40
7.4.200.0030.00316.39
7.4.160.0120.00916.46
7.4.150.0100.00617.40
7.4.140.0120.00817.86
7.4.130.0090.00816.60
7.4.120.0120.00516.39
7.4.110.0100.00916.46
7.4.100.0060.01816.40
7.4.90.0040.01816.53
7.4.80.0100.01019.39
7.4.70.0080.00916.35
7.4.60.0060.00916.27
7.4.50.0030.00316.16
7.4.40.0030.01616.34
7.4.30.0070.01016.34
7.4.00.0050.01114.81
7.3.330.0020.00213.23
7.3.320.0030.00313.20
7.3.310.0020.00516.21
7.3.300.0000.00716.14
7.3.290.0040.00416.07
7.3.280.0110.00416.21
7.3.270.0070.01117.40
7.3.260.0140.00616.31
7.3.250.0140.00616.41
7.3.240.0090.01016.37
7.3.230.0140.01116.44
7.3.210.0030.01316.54
7.3.200.0110.01116.46
7.3.190.0100.00716.32
7.3.180.0120.00416.16
7.3.170.0120.00916.27
7.3.160.0100.00716.31
7.3.120.0070.01014.73
7.3.110.0070.01014.56
7.3.100.0030.01014.33
7.3.90.0030.00814.82
7.3.80.0120.00314.63
7.3.70.0130.00014.76
7.3.60.0000.01414.57
7.3.50.0000.01214.76
7.3.40.0060.00914.56
7.3.30.0040.01114.79
7.3.20.0120.00316.59
7.3.10.0120.00316.47
7.3.00.0030.01016.60
7.2.330.0000.01816.59
7.2.320.0070.01716.39
7.2.310.0140.00416.63
7.2.300.0070.01016.58
7.2.290.0090.00916.32
7.2.250.0060.01315.03
7.2.240.0040.01415.04
7.2.230.0080.00815.12
7.2.220.0070.00414.79
7.2.210.0040.01114.61
7.2.200.0060.00914.92
7.2.190.0030.00714.57
7.2.180.0030.01614.93
7.2.170.0000.01014.76
7.2.60.0060.00316.82
7.2.00.0060.00619.48
7.1.330.0030.00915.69
7.1.320.0090.00615.53
7.1.310.0000.01115.74
7.1.300.0050.00315.58
7.1.290.0090.00615.64
7.1.280.0090.00615.72
7.1.270.0090.00315.48
7.1.260.0070.00715.60
7.1.200.0080.00015.63
7.1.100.0000.01818.23
7.1.70.0070.00716.70
7.1.60.0070.01719.48
7.1.50.0180.00316.80
7.1.00.0030.07722.32
7.0.200.0290.00614.63
7.0.60.0100.07719.96
7.0.50.0070.08717.87
7.0.40.0070.07020.13
7.0.30.0030.08320.25
7.0.20.0330.06020.10
7.0.10.0100.08020.15
7.0.00.0070.05320.13
5.6.280.0070.03320.91
5.6.210.0100.07720.48
5.6.200.0030.05018.29
5.6.190.0030.05020.39
5.6.180.0270.08020.63
5.6.170.0170.06320.54
5.6.160.0030.07020.57
5.6.150.0000.07018.23
5.6.140.0070.07318.20
5.6.130.0100.07018.25
5.6.120.0100.08320.98
5.6.110.0100.06020.99
5.6.100.0170.07321.14
5.6.90.0070.08721.07
5.6.80.0000.05020.39
5.5.350.4000.04020.37
5.5.340.0070.08717.94
5.5.330.0130.03320.13
5.5.320.0230.04320.36
5.5.310.0130.05720.41
5.5.300.0030.04017.95
5.5.290.0130.03318.01
5.5.280.0070.04720.78
5.5.270.0070.08720.88
5.5.260.0130.06020.97
5.5.250.0070.07720.49
5.5.240.0200.07720.27

preferences:
64.13 ms | 401 KiB | 5 Q