3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface FooInterface { } class Foo implements FooInterface { } interface BarInterface { public function fooAction(FooInterface $foo); } class Bar implements BarInterface { public function fooAction(FooInterface $foo) { } } $bar = new Bar; $foo = new Foo; $bar->fooAction($foo); ?>

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.01118.55
8.3.50.0090.01121.92
8.3.40.0120.00318.84
8.3.30.0100.00319.05
8.3.20.0000.00820.16
8.3.10.0080.00022.05
8.3.00.0000.00722.44
8.2.180.0040.01216.50
8.2.170.0070.00722.96
8.2.160.0000.01418.99
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0060.01226.16
8.2.120.0030.00519.36
8.2.110.0060.00322.17
8.2.100.0070.00419.63
8.2.90.0070.00019.23
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0070.00017.80
8.2.50.0050.00318.07
8.2.40.0050.00218.09
8.2.30.0000.00717.95
8.2.20.0050.00217.64
8.2.10.0000.00717.62
8.2.00.0000.00717.71
8.1.280.0070.00725.92
8.1.270.0030.00522.08
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00324.02
8.1.230.0080.00319.16
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0070.00317.36
8.1.190.0040.00417.41
8.1.180.0080.00018.63
8.1.170.0050.00318.59
8.1.160.0000.00722.20
8.1.150.0000.00718.51
8.1.140.0000.00917.37
8.1.130.0030.00317.70
8.1.120.0030.00317.38
8.1.110.0060.00317.44
8.1.100.0030.00317.51
8.1.90.0000.00717.51
8.1.80.0070.00017.36
8.1.70.0070.00017.41
8.1.60.0000.00917.59
8.1.50.0000.00717.54
8.1.40.0090.00017.57
8.1.30.0040.00417.62
8.1.20.0050.00317.63
8.1.10.0040.00417.58
8.1.00.0050.00217.50
8.0.300.0040.00418.77
8.0.290.0050.00317.05
8.0.280.0030.00318.38
8.0.270.0000.00817.31
8.0.260.0040.00417.01
8.0.250.0000.00716.98
8.0.240.0000.00717.03
8.0.230.0030.00317.08
8.0.220.0070.00016.83
8.0.210.0040.00416.96
8.0.200.0000.00617.03
8.0.190.0070.00017.05
8.0.180.0050.00316.88
8.0.170.0060.00316.98
8.0.160.0030.00516.90
8.0.150.0000.00716.87
8.0.140.0080.00016.89
8.0.130.0030.00313.35
8.0.120.0000.00816.95
8.0.110.0000.00716.94
8.0.100.0040.00416.92
8.0.90.0030.00517.00
8.0.80.0000.01416.93
8.0.70.0070.00016.83
8.0.60.0000.00816.91
8.0.50.0000.00816.95
8.0.30.0050.01517.07
8.0.20.0090.01417.40
8.0.10.0040.00416.89
8.0.00.0110.01316.77
7.4.330.0030.00315.05
7.4.320.0060.00016.48
7.4.300.0000.00616.57
7.4.290.0000.00716.59
7.4.280.0030.00616.62
7.4.270.0000.00716.49
7.4.260.0040.00416.60
7.4.250.0000.00716.59
7.4.240.0020.00616.62
7.4.230.0000.00716.39
7.4.220.0090.00916.45
7.4.210.0070.00916.52
7.4.200.0070.00016.35
7.4.190.0040.00416.46
7.4.160.0130.00316.43
7.4.150.0170.00017.40
7.4.140.0150.00317.86
7.4.130.0070.01016.54
7.4.120.0090.00716.48
7.4.110.0060.01616.59
7.4.100.0060.01116.45
7.4.90.0070.01016.54
7.4.80.0040.01519.39
7.4.70.0120.00916.43
7.4.60.0040.01316.54
7.4.50.0020.00216.35
7.4.40.0060.00922.77
7.4.30.0130.00516.58
7.4.00.0090.00614.98
7.3.330.0000.00513.10
7.3.320.0050.00013.21
7.3.310.0000.00716.26
7.3.300.0030.00316.21
7.3.290.0060.00916.25
7.3.280.0070.01016.25
7.3.270.0170.00017.40
7.3.260.0040.01216.44
7.3.250.0090.00616.40
7.3.240.0090.01316.26
7.3.230.0130.00416.39
7.3.210.0130.00316.30
7.3.200.0070.01319.39
7.3.190.0150.00416.29
7.3.180.0080.00816.51
7.3.170.0150.00616.46
7.3.160.0070.01016.33
7.3.120.0070.00714.91
7.2.330.0030.01216.32
7.2.320.0060.01016.63
7.2.310.0030.01316.81
7.2.300.0160.00616.31
7.2.290.0040.01416.67
7.2.60.0090.00616.76
7.2.00.0040.00819.55
7.1.200.0000.01115.77
7.1.100.0050.00517.91
7.1.70.0040.00716.87
7.1.60.0030.02119.82
7.1.50.0110.01416.99
7.1.00.0030.07722.54
7.0.200.0030.00616.81
7.0.140.0030.07322.09
7.0.60.0200.06320.00
7.0.50.0100.03317.85
7.0.40.0030.09320.23
7.0.30.0330.07320.24
7.0.20.0200.04720.11
7.0.10.0300.03320.09
7.0.00.0030.04020.19
5.6.280.0030.07320.93
5.6.210.0100.07720.73
5.6.200.0070.07318.16
5.6.190.0100.08020.61
5.6.180.3400.04320.67
5.6.170.0430.07020.50
5.6.160.0100.08020.56
5.6.150.0030.06318.25
5.6.140.0070.03718.23
5.6.130.0030.04318.24
5.6.120.0030.05321.04
5.6.110.0130.07320.98
5.6.100.0170.04321.14
5.6.90.0030.09321.02
5.6.80.0100.07020.53
5.6.70.0130.05020.34
5.5.350.0030.03020.32
5.5.340.0130.07317.97
5.5.330.0070.04020.47
5.5.320.0100.04720.32
5.5.310.0330.07020.34
5.5.300.0130.06718.03
5.5.290.0070.08018.06
5.5.280.0070.03720.77
5.5.270.0070.06020.77
5.5.260.0170.07720.89
5.5.250.0130.07720.80
5.5.240.0100.07320.19
5.4.450.0670.05719.58
5.4.440.0670.05319.70
5.4.430.0030.06319.42
5.4.420.0200.04719.51
5.4.410.0030.06019.36
5.4.400.0830.00018.52
5.4.390.0870.00018.81
5.4.380.0200.06318.50
5.4.370.0930.05018.50
5.4.360.0870.05718.55
5.4.350.0770.05018.75
5.4.340.0870.05018.78
5.4.320.0020.04012.51
5.4.310.0050.03712.50
5.4.300.0060.03612.51
5.4.290.0040.04012.50
5.4.280.0100.04212.40
5.4.270.0060.03512.40
5.4.260.0130.06318.65
5.4.250.0100.05318.76
5.4.240.0130.05019.02
5.4.230.0130.05318.74
5.4.220.0030.05719.00
5.4.210.0070.07718.96
5.4.200.0100.04718.96
5.4.190.0130.04719.02
5.4.180.0070.05318.93
5.4.170.0270.04318.94
5.4.160.0100.07319.08
5.4.150.0100.08018.98
5.4.140.0030.05716.38
5.4.130.0070.04716.44
5.4.120.0170.04016.36
5.4.110.0170.06016.43
5.4.100.0070.04716.71
5.4.90.0030.05316.43
5.4.80.0070.06716.52
5.4.70.0100.05016.51
5.4.60.0130.04316.59
5.4.50.0100.05016.54
5.4.40.0170.06016.51
5.4.30.0000.05316.59
5.4.20.0070.04716.62
5.4.10.0130.04316.56
5.4.00.0070.04715.99
5.3.290.0060.03812.80
5.3.280.0100.07714.59
5.3.270.0070.05314.65
5.3.260.0130.04714.63
5.3.250.0130.04714.60
5.3.240.0170.05014.70
5.3.230.0100.05014.82
5.3.220.0130.04714.66
5.3.210.0100.05314.48
5.3.200.0170.04014.73
5.3.190.0070.05314.48
5.3.180.0070.05314.59
5.3.170.0200.05314.66
5.3.160.0070.08014.64
5.3.150.0000.06314.40
5.3.140.0170.03714.39
5.3.130.0030.05714.65
5.3.120.0030.05314.73
5.3.110.0170.04314.39
5.3.100.0070.05014.13
5.3.90.0100.04313.93
5.3.80.0030.05314.09
5.3.70.0130.06313.93
5.3.60.0100.06713.83
5.3.50.0130.04314.04
5.3.40.0070.07014.04
5.3.30.0130.06714.00
5.3.20.0100.04313.61
5.3.10.0100.04313.73
5.3.00.0130.06713.73
5.2.170.0100.04011.37
5.2.160.0130.03311.32
5.2.150.0100.04011.13
5.2.140.0100.03711.23
5.2.130.0000.04711.11
5.2.120.0000.04711.06
5.2.110.0100.03711.32
5.2.100.0100.03011.09
5.2.90.0030.04311.11
5.2.80.0000.04311.00
5.2.70.0100.04311.18
5.2.60.0130.05011.23
5.2.50.0200.04710.86
5.2.40.0100.05011.02
5.2.30.0130.03311.14
5.2.20.0130.03311.01
5.2.10.0130.04010.84
5.2.00.0070.03710.80
5.1.60.0030.03310.20
5.1.50.0030.03710.06
5.1.40.0030.04310.07
5.1.30.0070.03710.29
5.1.20.0070.04310.43
5.1.10.0170.03710.16
5.1.00.0000.03710.08
5.0.50.0100.0238.79
5.0.40.0000.0308.45
5.0.30.0000.0438.38
5.0.20.0030.0278.24
5.0.10.0030.0278.27
5.0.00.0100.0338.28
4.4.90.0030.0206.80
4.4.80.0030.0236.80
4.4.70.0030.0236.80
4.4.60.0030.0276.80
4.4.50.0000.0236.79
4.4.40.0000.0476.79
4.4.30.0000.0236.79
4.4.20.0000.0236.79
4.4.10.0100.0176.79
4.4.00.0000.0376.79
4.3.110.0000.0236.79
4.3.100.0070.0276.79
4.3.90.0030.0206.79
4.3.80.0030.0406.79
4.3.70.0000.0236.79
4.3.60.0200.0276.79
4.3.50.0100.0236.79
4.3.40.0030.0336.79
4.3.30.0030.0206.79
4.3.20.0030.0206.79
4.3.10.0000.0236.79
4.3.00.0030.0209.25

preferences:
32.29 ms | 401 KiB | 5 Q