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(); var_dump($b->foo("test"));

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.01016.63
8.3.50.0300.00621.91
8.3.40.0100.00718.41
8.3.30.0080.00519.00
8.3.20.0000.00720.20
8.3.10.0040.00423.65
8.3.00.0040.00422.58
8.2.180.0040.01516.50
8.2.170.0140.00022.96
8.2.160.0100.00722.09
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00022.29
8.2.110.0030.00622.25
8.2.100.0070.00317.59
8.2.90.0040.00419.23
8.2.80.0040.00417.97
8.2.70.0030.00717.38
8.2.60.0030.00517.92
8.2.50.0000.01018.07
8.2.40.0000.00819.46
8.2.30.0040.00417.86
8.2.20.0040.00417.58
8.2.10.0030.00519.34
8.2.00.0040.00417.46
8.1.280.0070.01025.92
8.1.270.0060.00323.97
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0040.00423.91
8.1.230.0030.00719.20
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.01017.09
8.1.190.0050.00317.41
8.1.180.0020.00518.10
8.1.170.0040.00418.39
8.1.160.0000.00821.84
8.1.150.0020.00518.50
8.1.140.0000.00717.30
8.1.130.0030.00317.69
8.1.120.0000.00717.23
8.1.110.0040.00417.20
8.1.100.0030.00317.20
8.1.90.0000.00817.35
8.1.80.0030.00317.30
8.1.70.0030.00317.23
8.1.60.0000.00817.38
8.1.50.0030.00517.34
8.1.40.0000.00717.39
8.1.30.0000.00817.49
8.1.20.0030.00517.40
8.1.10.0030.00517.46
8.1.00.0070.00417.32
8.0.300.0040.00418.77
8.0.290.0040.00417.18
8.0.280.0030.00318.36
8.0.270.0070.00017.07
8.0.260.0040.00416.69
8.0.250.0000.00716.88
8.0.240.0070.00016.91
8.0.230.0000.00716.80
8.0.220.0000.00716.64
8.0.210.0070.00016.62
8.0.200.0060.00016.70
8.0.190.0000.00716.79
8.0.180.0000.00816.66
8.0.170.0050.00316.79
8.0.160.0000.00716.69
8.0.150.0000.00716.81
8.0.140.0040.00416.79
8.0.130.0000.00513.34
8.0.120.0030.00316.75
8.0.110.0060.00316.70
8.0.100.0000.00716.63
8.0.90.0000.00916.64
8.0.80.0120.00316.75
8.0.70.0000.00716.55
8.0.60.0000.00716.71
8.0.50.0040.00416.81
8.0.30.0120.00616.81
8.0.20.0080.01017.40
8.0.10.0000.00716.75
8.0.00.0150.00616.54
7.4.330.0050.00015.08
7.4.320.0000.00616.45
7.4.300.0000.00616.43
7.4.290.0030.00316.39
7.4.280.0080.00016.34
7.4.270.0060.00016.26
7.4.260.0030.00316.44
7.4.250.0000.00716.44
7.4.240.0020.00416.36
7.4.230.0070.00016.48
7.4.220.0090.00616.55
7.4.210.0050.01216.36
7.4.200.0070.00016.35
7.4.190.0020.00516.51
7.4.160.0070.01016.21
7.4.150.0060.01217.40
7.4.140.0130.00517.86
7.4.130.0090.00916.47
7.4.120.0110.00616.49
7.4.110.0030.01316.23
7.4.100.0030.01416.55
7.4.90.0070.01316.36
7.4.80.0190.00316.38
7.4.70.0070.01316.39
7.4.60.0060.01016.29
7.4.50.0090.00016.33
7.4.40.0100.00622.77
7.4.30.0120.00416.14
7.3.330.0050.00013.22
7.3.320.0030.00313.09
7.3.310.0000.00716.11
7.3.300.0040.00416.03
7.3.290.0120.00316.11
7.3.280.0080.01116.12
7.3.270.0090.00917.40
7.3.260.0110.01216.20
7.3.250.0120.00616.19
7.3.240.0080.00816.52
7.3.230.0120.00416.39
7.3.210.0110.00716.41
7.3.200.0070.01419.39
7.3.190.0070.01116.30
7.3.180.0090.00616.50
7.3.170.0000.01716.51
7.3.160.0090.00616.54
7.2.330.0080.00916.54
7.2.320.0100.00716.19
7.2.310.0130.00416.63
7.2.300.0100.00716.20
7.2.290.0080.00816.27
5.4.320.0040.04112.46
5.4.310.0080.03912.45
5.4.300.0060.03512.45
5.4.290.0070.03512.45
5.4.280.0070.03912.32
5.4.270.0050.04112.32
5.4.260.0120.04412.32
5.4.250.0190.07712.32
5.4.240.0220.08112.32
5.4.230.0100.05312.31
5.4.220.0100.05612.31
5.4.210.0100.05112.31
5.4.200.0210.04312.31
5.4.190.0090.04012.30
5.4.180.0190.07012.31
5.4.170.0160.07712.32
5.4.160.0120.07212.32
5.4.150.0140.07812.31
5.4.140.0120.06811.99
5.4.130.0160.06911.98
5.4.120.0210.08111.94
5.4.110.0160.06211.93
5.4.100.0150.07911.93
5.4.90.0250.09311.93
5.4.80.0160.05611.93
5.4.70.0170.07311.93
5.4.60.0120.04711.93
5.4.50.0120.06111.93
5.4.40.0100.05011.92
5.4.30.0160.07411.92
5.4.20.0080.05211.92
5.4.10.0070.04011.92
5.4.00.0090.05811.41
5.3.290.0040.04112.80
5.3.280.0080.04612.71
5.3.270.0080.04612.73
5.3.260.0080.04312.72
5.3.250.0100.03912.72
5.3.240.0160.04112.71
5.3.230.0240.06612.71
5.3.220.0070.07012.68
5.3.210.0110.06412.68
5.3.200.0110.06112.68
5.3.190.0150.06612.68
5.3.180.0120.06012.68
5.3.170.0120.06212.67
5.3.160.0210.08112.68
5.3.150.0180.05512.68
5.3.140.0090.06612.66
5.3.130.0120.06712.66
5.3.120.0090.06812.66
5.3.110.0150.09012.66
5.3.100.0070.06312.12
5.3.90.0070.06212.09
5.3.80.0150.07712.07
5.3.70.0250.07312.08
5.3.60.0160.06012.06
5.3.50.0080.06512.00
5.3.40.0120.06212.00
5.3.30.0140.05311.94
5.3.20.0090.05511.70
5.3.10.0140.05611.66
5.3.00.0120.05611.65

preferences:
45.01 ms | 401 KiB | 5 Q