3v4l.org

run code in 300+ PHP versions simultaneously
<?hh interface Foo { public function foo(String $foo) : String; } class Bar implements Foo { public function foo(String $foo) { return new StdClass; } } $b = new Bar; $b->foo("test"); var_dump($b);

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.0110.00318.18
8.3.50.0140.00521.93
8.3.40.0140.00318.58
8.3.30.0100.00320.22
8.3.20.0050.00220.21
8.3.10.0060.00321.92
8.3.00.0040.00422.53
8.2.180.0120.00625.92
8.2.170.0110.00318.75
8.2.160.0070.00722.96
8.2.150.0030.00525.66
8.2.140.0080.00024.66
8.2.130.0070.01026.16
8.2.120.0080.00019.54
8.2.110.0060.00321.11
8.2.100.0080.00417.78
8.2.90.0060.00319.26
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0070.00018.09
8.2.30.0000.00818.01
8.2.20.0040.00417.49
8.2.10.0000.00817.51
8.2.00.0070.00417.45
8.1.280.0070.00725.92
8.1.270.0040.00424.66
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00422.27
8.1.230.0040.00718.96
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0000.00816.98
8.1.180.0000.00818.88
8.1.170.0050.00318.63
8.1.160.0050.00222.00
8.1.150.0080.00018.55
8.1.140.0000.00717.27
8.1.130.0030.00317.71
8.1.120.0000.00817.28
8.1.110.0000.00717.27
8.1.100.0040.00417.30
8.1.90.0040.00417.19
8.1.80.0000.00717.29
8.1.70.0040.00417.30
8.1.60.0040.00417.32
8.1.50.0040.00417.30
8.1.40.0080.00017.39
8.1.30.0000.00717.38
8.1.20.0080.00017.55
8.1.10.0050.00317.42
8.1.00.0040.00417.29
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0000.00718.33
8.0.270.0040.00417.25
8.0.260.0030.00316.61
8.0.250.0000.00716.77
8.0.240.0040.00416.77
8.0.230.0030.00316.81
8.0.220.0000.00716.78
8.0.210.0050.00316.76
8.0.200.0030.00316.79
8.0.190.0000.00716.80
8.0.180.0070.00016.67
8.0.170.0000.00816.83
8.0.160.0040.00416.68
8.0.150.0000.00816.73
8.0.140.0020.00516.75
8.0.130.0060.00013.34
8.0.120.0000.00816.77
8.0.110.0000.00716.66
8.0.100.0040.00416.81
8.0.90.0000.00716.86
8.0.80.0060.01316.79
8.0.70.0000.00816.64
8.0.60.0050.00316.72
8.0.50.0070.00016.73
8.0.30.0090.01116.84
8.0.20.0110.00617.40
8.0.10.0070.00016.86
8.0.00.0130.00916.63
7.4.330.0000.00515.00
7.4.320.0040.00416.23
7.4.300.0060.00016.26
7.4.290.0040.00416.46
7.4.280.0000.00616.50
7.4.270.0070.00016.35
7.4.260.0000.00616.44
7.4.250.0000.00816.34
7.4.240.0060.00216.41
7.4.230.0000.00716.46
7.4.220.0110.00816.52
7.4.210.0080.00816.41
7.4.200.0030.00316.25
7.4.190.0000.00716.22
7.4.160.0090.00616.46
7.4.150.0090.00917.40
7.4.140.0110.01117.86
7.4.130.0070.01016.42
7.4.120.0070.01316.40
7.4.110.0080.00816.46
7.4.100.0070.01016.21
7.4.90.0130.00616.36
7.4.80.0130.00819.39
7.4.70.0070.01016.33
7.4.60.0100.00716.27
7.4.50.0030.00616.13
7.4.40.0100.00722.77
7.4.30.0080.00816.36
7.3.330.0000.00513.22
7.3.320.0060.00013.14
7.3.310.0030.00316.05
7.3.300.0030.00316.23
7.3.290.0120.00316.09
7.3.280.0040.01016.13
7.3.270.0070.01017.40
7.3.260.0100.00716.25
7.3.250.0110.00716.30
7.3.240.0100.01016.18
7.3.230.0060.01016.43
7.3.210.0150.00316.20
7.3.200.0100.00719.39
7.3.190.0150.00716.05
7.3.180.0130.00316.56
7.3.170.0060.00916.64
7.3.160.0030.01216.45
7.2.330.0060.00916.55
7.2.320.0130.00416.32
7.2.310.0100.01316.31
7.2.300.0120.00616.50
7.2.290.0110.01116.45
5.4.320.0050.03712.45
5.4.310.0100.03412.45
5.4.300.0030.03912.45
5.4.290.0050.05412.45
5.4.280.0120.04412.32
5.4.270.0060.04912.32
5.4.260.0100.05912.32
5.4.250.0080.05112.32
5.4.240.0060.04812.32
5.4.230.0050.04612.31
5.4.220.0090.05612.31
5.4.210.0100.04412.31
5.4.200.0080.04812.31
5.4.190.0090.04812.30
5.4.180.0080.04912.30
5.4.170.0100.06612.32
5.4.160.0100.05012.31
5.4.150.0060.05412.31
5.4.140.0090.04911.99
5.4.130.0090.04511.98
5.4.120.0070.04911.94
5.4.110.0090.05811.94
5.4.100.0080.03511.94
5.4.90.0080.03611.93
5.4.80.0100.03511.94
5.4.70.0100.03611.93
5.4.60.0080.05411.94
5.4.50.0040.04711.93
5.4.40.0050.03711.92
5.4.30.0080.03911.92
5.4.20.0120.05611.92
5.4.10.0060.04411.92
5.4.00.0110.05011.40
5.3.290.0090.05012.80
5.3.280.0170.06012.71
5.3.270.0110.05612.73
5.3.260.0110.03712.72
5.3.250.0090.04012.72
5.3.240.0060.04012.72
5.3.230.0060.03812.71
5.3.220.0070.03712.68
5.3.210.0080.05512.68
5.3.200.0110.05812.68
5.3.190.0070.06412.68
5.3.180.0140.05612.67
5.3.170.0160.05512.67
5.3.160.0140.05312.67
5.3.150.0070.05212.67
5.3.140.0120.04612.66
5.3.130.0090.08112.66
5.3.120.0090.04012.66
5.3.110.0050.04812.66
5.3.100.0030.04012.12
5.3.90.0060.03712.09
5.3.80.0080.03412.07
5.3.70.0080.04612.07
5.3.60.0080.03512.06
5.3.50.0090.03212.00
5.3.40.0070.03612.00
5.3.30.0060.03611.94
5.3.20.0040.04111.70
5.3.10.0100.04111.67
5.3.00.0100.05211.65

preferences:
41.75 ms | 401 KiB | 5 Q