3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Something { interface Hello { public function hello(\SomethingDifferent\World $world); } } namespace Hell { use Something\Hello; use SomethingDifferent\World; class HelloWorld implements Hello { public function hello(World $world) { } } $hell = new HelloWorld(); $hell->hello(new \SomethingDifferent\World()); }

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.00318.38
8.3.50.0110.00721.15
8.3.40.0140.00718.94
8.3.30.0030.01019.09
8.3.20.0040.00420.38
8.3.10.0040.00421.77
8.3.00.0030.00519.48
8.2.180.0070.01118.54
8.2.170.0110.00422.96
8.2.160.0070.01020.35
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0080.00022.25
8.2.110.0040.00421.92
8.2.100.0080.00417.75
8.2.90.0050.00319.17
8.2.80.0040.00417.97
8.2.70.0090.00317.63
8.2.60.0040.00417.93
8.2.50.0040.00418.07
8.2.40.0080.00019.95
8.2.30.0070.00018.13
8.2.20.0040.00417.75
8.2.10.0070.00018.04
8.2.00.0000.00717.67
8.1.280.0040.01125.92
8.1.270.0050.00323.96
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.97
8.1.230.0090.00319.13
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0030.00618.66
8.1.160.0040.00422.07
8.1.150.0040.00418.80
8.1.140.0060.00317.36
8.1.130.0000.00717.79
8.1.120.0000.00717.49
8.1.110.0000.00717.41
8.1.100.0040.00317.45
8.1.90.0000.00717.45
8.1.80.0030.00317.34
8.1.70.0000.00717.42
8.1.60.0040.00417.56
8.1.50.0080.00017.55
8.1.40.0000.00817.49
8.1.30.0000.00817.61
8.1.20.0030.00617.52
8.1.10.0000.00817.62
8.1.00.0060.00317.52
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0000.00818.44
8.0.270.0000.00817.30
8.0.260.0030.00317.13
8.0.250.0030.00317.02
8.0.240.0030.00317.01
8.0.230.0040.00416.91
8.0.220.0030.00316.87
8.0.210.0070.00016.89
8.0.200.0030.00316.90
8.0.190.0000.00716.93
8.0.180.0000.00716.96
8.0.170.0050.00316.88
8.0.160.0000.00716.89
8.0.150.0070.00016.98
8.0.140.0050.00316.98
8.0.130.0030.00313.38
8.0.120.0030.00516.87
8.0.110.0040.00416.89
8.0.100.0000.00716.86
8.0.90.0040.00416.86
8.0.80.0120.00616.94
8.0.70.0030.00516.88
8.0.60.0000.00817.01
8.0.50.0040.00416.77
8.0.30.0110.01117.06
8.0.20.0120.01117.40
8.0.10.0070.00017.02
8.0.00.0130.00416.74
7.4.330.0000.00615.02
7.4.320.0060.00016.41
7.4.300.0060.00016.51
7.4.290.0020.00516.51
7.4.280.0060.00316.53
7.4.270.0070.00016.61
7.4.260.0100.00016.41
7.4.250.0030.00516.54
7.4.240.0050.00216.41
7.4.230.0040.00416.60
7.4.220.0150.00316.65
7.4.210.0120.00316.53
7.4.200.0000.00716.48
7.4.160.0100.00716.64
7.4.150.0090.00917.40
7.4.140.0110.00717.86
7.4.130.0060.01016.46
7.4.120.0110.01016.63
7.4.110.0160.00616.52
7.4.100.0080.00916.64
7.4.90.0100.00716.66
7.4.80.0060.01019.39
7.4.70.0120.01016.59
7.4.60.0170.00316.59
7.4.50.0080.00016.31
7.4.40.0120.00416.48
7.4.30.0140.00316.50
7.4.00.0100.00815.06
7.3.330.0030.00313.32
7.3.320.0000.00513.16
7.3.310.0030.00316.34
7.3.300.0070.00016.27
7.3.290.0090.00616.36
7.3.280.0110.00616.35
7.3.270.0110.00617.40
7.3.260.0100.00716.45
7.3.250.0110.00516.55
7.3.240.0070.01116.44
7.3.230.0060.01116.39
7.3.210.0130.00416.26
7.3.200.0130.00319.39
7.3.190.0060.01216.60
7.3.180.0080.00816.58
7.3.170.0130.00916.46
7.3.160.0060.00916.33
7.3.120.0060.00614.96
7.3.110.0130.00614.63
7.3.100.0030.01414.58
7.3.90.0090.00614.94
7.3.80.0030.01015.05
7.3.70.0090.00614.57
7.3.60.0040.00814.90
7.3.50.0060.00914.92
7.3.40.0070.01014.75
7.3.30.0070.00314.56
7.3.20.0060.00916.47
7.3.10.0080.00716.61
7.3.00.0070.00716.55
7.2.330.0090.00916.61
7.2.320.0060.01216.66
7.2.310.0060.01016.50
7.2.300.0090.00916.29
7.2.290.0130.00716.70
7.2.250.0060.01315.16
7.2.240.0030.01614.94
7.2.230.0100.01015.24
7.2.220.0110.00014.94
7.2.210.0000.01714.60
7.2.200.0060.00615.14
7.2.190.0130.00315.02
7.2.180.0100.00714.72
7.2.170.0030.00815.07
7.2.130.0030.00616.48
7.2.120.0090.00616.93
7.2.110.0110.00416.80
7.2.100.0030.00716.66
7.2.90.0000.01516.45
7.2.80.0000.01017.00
7.2.70.0100.01016.50
7.2.60.0070.01016.65
7.2.50.0030.00916.69
7.2.40.0140.00016.77
7.2.30.0090.00616.79
7.2.20.0070.00316.57
7.2.10.0060.01216.73
7.2.00.0070.01017.84
7.1.330.0070.00715.64
7.1.320.0040.01115.66
7.1.310.0090.00615.40
7.1.300.0030.01015.70
7.1.290.0000.01715.74
7.1.280.0040.00715.47
7.1.270.0080.00315.73
7.1.260.0030.01215.65
7.1.250.0000.01415.25
7.1.200.0000.01215.55
7.1.100.0030.01218.16
7.1.70.0070.01016.96
7.1.60.0070.01719.11
7.1.50.0040.00816.95
7.1.00.0030.07722.36
7.0.200.0000.01016.80
7.0.140.0070.07022.12
7.0.60.0030.04019.78
7.0.50.0000.07317.84
7.0.40.0070.06720.15
7.0.30.0400.04720.34
7.0.20.0230.06720.15
7.0.10.0030.07020.09
7.0.00.0030.07720.16
5.6.280.0130.06021.13
5.6.210.0100.04720.63
5.6.200.0000.04718.16
5.6.190.0130.06720.61
5.6.180.0330.07320.63
5.6.170.0230.07720.71
5.6.160.0030.05320.71
5.6.150.0130.04718.18
5.6.140.0030.06318.15
5.6.130.0070.08318.18
5.6.120.0000.09020.99
5.6.110.0170.05720.89
5.6.100.0100.06321.09
5.6.90.0070.08321.11
5.6.80.0070.03720.44
5.6.70.4670.03320.35
5.5.350.0100.03320.35
5.5.340.0100.07717.96
5.5.330.0130.08020.29
5.5.320.0230.06320.36
5.5.310.0170.04020.26
5.5.300.0000.04317.95
5.5.290.0070.04717.95
5.5.280.0130.04020.88
5.5.270.0030.07320.88
5.5.260.0130.08320.97
5.5.250.0130.07720.59
5.5.240.0270.07320.35
5.4.450.0100.07019.20
5.4.440.1670.05719.48
5.4.430.1770.03319.41
5.4.420.1970.04319.52
5.4.410.2170.04019.27
5.4.400.1700.04318.86
5.4.390.2230.04718.99
5.4.380.1930.04019.14
5.4.370.1830.03719.07
5.4.360.1900.03319.16
5.4.350.2000.04019.22
5.4.340.0530.04019.22
5.4.320.0030.04319.06
5.4.310.0000.08318.84
5.4.300.0630.03718.98
5.4.290.1870.04319.09
5.4.280.1870.04019.14
5.4.270.1730.04019.23
5.4.260.1870.03719.09
5.4.250.1930.03319.21
5.4.240.1900.03318.98
5.4.230.1870.05018.99
5.4.220.2270.04718.97
5.4.210.2070.04319.12
5.4.200.1570.03318.98
5.4.190.0000.04019.13
5.4.180.0030.05019.10
5.4.170.0870.03319.22
5.4.160.2000.03718.92
5.4.150.2170.04019.21
5.4.140.2000.04316.50
5.4.130.2170.04316.52
5.4.120.1970.04316.50
5.4.110.2000.04316.63
5.4.100.1770.04016.40
5.4.90.1770.03716.30
5.4.80.2170.03016.43
5.4.70.1570.04016.54
5.4.60.0000.03716.42
5.4.50.0070.03716.42
5.4.40.1300.05316.52
5.4.30.1970.04316.56
5.4.20.1970.03316.37
5.4.10.1600.03316.16
5.4.00.1930.03715.79
5.3.290.2230.04314.81
5.3.280.0570.05314.74
5.3.270.0070.04314.61
5.3.260.0230.04314.52
5.3.250.1770.03714.51
5.3.240.2030.04314.58
5.3.230.1930.03714.82
5.3.220.0970.03314.66
5.3.210.0070.07714.65
5.3.200.0070.06314.54
5.3.190.2070.03714.68
5.3.180.1830.03714.64
5.3.170.1970.04014.55
5.3.160.1900.03714.44
5.3.150.2000.04014.80
5.3.140.1830.03314.56
5.3.130.2000.04014.60
5.3.120.1630.04014.52
5.3.110.1800.03714.69
5.3.100.1770.03714.27
5.3.90.2030.04713.91
5.3.80.1530.03714.25
5.3.70.2130.04314.11
5.3.60.2030.03714.12
5.3.50.2030.02713.86
5.3.40.1570.03314.07
5.3.30.1800.03713.96
5.3.20.1970.04013.60
5.3.10.1830.03313.57
5.3.00.2000.04313.54
5.2.170.1670.03311.20
5.2.160.1670.04011.15
5.2.150.1530.02710.99
5.2.140.1530.03311.16
5.2.130.1870.03310.96
5.2.120.1530.03010.93
5.2.110.1470.03311.14
5.2.100.1830.03310.99
5.2.90.1530.03011.12
5.2.80.1600.02311.17
5.2.70.1530.03311.14
5.2.60.1600.02010.98
5.2.50.1630.03311.06
5.2.40.1230.02711.00
5.2.30.1500.03710.82
5.2.20.1430.03310.80
5.2.10.0000.03010.86
5.2.00.0030.02710.82
5.1.60.0000.0279.97
5.1.50.0200.0209.89
5.1.40.1230.0239.86
5.1.30.1270.02310.41
5.1.20.1230.02710.35
5.1.10.1270.02310.15
5.1.00.1200.0279.94
5.0.50.0670.0178.56
5.0.40.0600.0208.38
5.0.30.0600.0308.16
5.0.20.0630.0208.18
5.0.10.0730.0238.09
5.0.00.0730.0308.08
4.4.90.0630.0177.91
4.4.80.0800.0237.91
4.4.70.0870.0237.91
4.4.60.0670.0137.91
4.4.50.0730.0207.91
4.4.40.0670.0237.91
4.4.30.0770.0207.91
4.4.20.0670.0177.91
4.4.10.0470.0207.91
4.4.00.0000.0437.91
4.3.110.0000.0407.91
4.3.100.0030.0237.91
4.3.90.0000.0277.91
4.3.80.0000.0277.91
4.3.70.0000.0177.91
4.3.60.0030.0177.91
4.3.50.0170.0137.91
4.3.40.0670.0277.91
4.3.30.0330.0237.91
4.3.20.0330.0207.91
4.3.10.0300.0177.91
4.3.00.0400.0307.91

preferences:
36.66 ms | 401 KiB | 5 Q