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 String; } } $b = new Bar; $c = $b->foo("test"); var_dump($c);

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.0030.01218.18
8.3.50.0150.00621.92
8.3.40.0140.00418.73
8.3.30.0060.00920.34
8.3.20.0050.00320.21
8.3.10.0070.00021.95
8.3.00.0040.00422.51
8.2.180.0110.00716.47
8.2.170.0070.01422.96
8.2.160.0070.00720.52
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0140.00326.16
8.2.120.0040.00419.64
8.2.110.0030.00620.33
8.2.100.0080.00417.72
8.2.90.0000.00719.23
8.2.80.0050.00319.21
8.2.70.0050.00317.50
8.2.60.0000.00717.91
8.2.50.0050.00318.07
8.2.40.0000.00917.84
8.2.30.0000.00717.90
8.2.20.0040.00417.52
8.2.10.0040.00417.64
8.2.00.0040.00417.54
8.1.280.0070.01425.92
8.1.270.0050.00224.66
8.1.260.0030.00626.35
8.1.250.0060.00328.09
8.1.240.0040.00423.73
8.1.230.0070.00423.96
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.22
8.1.190.0000.00717.41
8.1.180.0000.00820.29
8.1.170.0040.00418.41
8.1.160.0000.00722.16
8.1.150.0000.00718.50
8.1.140.0040.00417.30
8.1.130.0030.00317.66
8.1.120.0000.00817.37
8.1.110.0030.00517.30
8.1.100.0070.00017.32
8.1.90.0050.00217.23
8.1.80.0000.00717.34
8.1.70.0000.00717.27
8.1.60.0080.00017.45
8.1.50.0070.00017.29
8.1.40.0070.00017.28
8.1.30.0030.00517.45
8.1.20.0040.00417.39
8.1.10.0000.00817.30
8.1.00.0000.00717.41
8.0.300.0000.00718.77
8.0.290.0000.00717.05
8.0.280.0080.00018.28
8.0.270.0030.00617.21
8.0.260.0070.00016.78
8.0.250.0030.00316.84
8.0.240.0000.00816.85
8.0.230.0030.00316.80
8.0.220.0000.00716.79
8.0.210.0000.00716.58
8.0.200.0000.00616.85
8.0.190.0000.00716.85
8.0.180.0040.00416.68
8.0.170.0050.00316.71
8.0.160.0050.00316.75
8.0.150.0040.00316.70
8.0.140.0030.00516.60
8.0.130.0000.00613.44
8.0.120.0030.00516.74
8.0.110.0000.00716.75
8.0.100.0070.00016.67
8.0.90.0000.00716.74
8.0.80.0070.00716.69
8.0.70.0030.00416.79
8.0.60.0070.00016.81
8.0.50.0000.00816.73
8.0.30.0100.00716.84
8.0.20.0070.01117.40
8.0.10.0040.00416.92
8.0.00.0090.01116.68
7.4.330.0060.00015.00
7.4.320.0060.00016.41
7.4.300.0080.00016.44
7.4.290.0080.00016.36
7.4.280.0000.00716.36
7.4.270.0070.00016.38
7.4.260.0040.00416.39
7.4.250.0040.00416.39
7.4.240.0050.00216.38
7.4.230.0070.00016.46
7.4.220.0150.00316.47
7.4.210.0080.00616.43
7.4.200.0070.00016.45
7.4.190.0030.00316.62
7.4.160.0040.01116.29
7.4.150.0160.00617.40
7.4.140.0120.00817.86
7.4.130.0090.00816.41
7.4.120.0130.00316.26
7.4.110.0100.01316.36
7.4.100.0070.01116.41
7.4.90.0040.01816.46
7.4.80.0090.01219.39
7.4.70.0150.00016.34
7.4.60.0110.01216.43
7.4.50.0050.00316.42
7.4.40.0040.01522.77
7.4.30.0090.00616.26
7.3.330.0030.00313.13
7.3.320.0020.00212.96
7.3.310.0070.00016.13
7.3.300.0040.00416.14
7.3.290.0070.00616.11
7.3.280.0070.00816.10
7.3.270.0030.01317.40
7.3.260.0150.00316.22
7.3.250.0090.01016.49
7.3.240.0100.00716.39
7.3.230.0100.00716.39
7.3.210.0080.00816.42
7.3.200.0030.01319.39
7.3.190.0110.01116.08
7.3.180.0130.00316.39
7.3.170.0040.01316.27
7.3.160.0120.00916.36
7.2.330.0090.01016.62
7.2.320.0070.01016.46
7.2.310.0100.01016.65
7.2.300.0170.00716.48
7.2.290.0100.00716.42
5.4.320.0090.04212.45
5.4.310.0050.03812.45
5.4.300.0050.04512.45
5.4.290.0060.03712.45
5.4.280.0040.04112.32
5.4.270.0140.03112.32
5.4.260.0060.03712.32
5.4.250.0040.04012.32
5.4.240.0090.03212.32
5.4.230.0080.04812.31
5.4.220.0080.03912.31
5.4.210.0070.03512.31
5.4.200.0090.04012.31
5.4.190.0080.04312.30
5.4.180.0070.04312.30
5.4.170.0050.04812.32
5.4.160.0090.04012.31
5.4.150.0060.03912.31
5.4.140.0050.03911.99
5.4.130.0090.03911.98
5.4.120.0060.03711.94
5.4.110.0050.03711.94
5.4.100.0110.03311.94
5.4.90.0040.03911.93
5.4.80.0020.04011.93
5.4.70.0040.03611.93
5.4.60.0060.03411.93
5.4.50.0050.03611.93
5.4.40.0080.03511.92
5.4.30.0080.03311.92
5.4.20.0060.03811.92
5.4.10.0060.03311.92
5.4.00.0060.03711.41
5.3.290.0050.03912.80
5.3.280.0080.03612.71
5.3.270.0080.03612.73
5.3.260.0110.03712.72
5.3.250.0110.04212.72
5.3.240.0050.04212.72
5.3.230.0110.03512.71
5.3.220.0100.03712.68
5.3.210.0060.04412.68
5.3.200.0080.03612.68
5.3.190.0070.03912.68
5.3.180.0060.03612.67
5.3.170.0070.03512.67
5.3.160.0090.03212.67
5.3.150.0050.03812.67
5.3.140.0080.03612.66
5.3.130.0040.04112.66
5.3.120.0090.04312.66
5.3.110.0060.03812.66
5.3.100.0060.04712.12
5.3.90.0070.03812.08
5.3.80.0050.04112.08
5.3.70.0060.03812.08
5.3.60.0050.03712.06
5.3.50.0060.04112.00
5.3.40.0050.03712.00
5.3.30.0040.03711.94
5.3.20.0070.03711.70
5.3.10.0060.03911.66
5.3.00.0070.03811.65

preferences:
41.25 ms | 401 KiB | 5 Q