3v4l.org

run code in 300+ PHP versions simultaneously
<?hh class A { public async static function f() { $a = async static public function ($x) { var_dump($x); }; return $a(1); } }

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.0180.00318.43
8.3.50.0090.00616.23
8.3.40.0140.00018.73
8.3.30.0090.00618.53
8.3.20.0040.00419.02
8.3.10.0070.00023.48
8.3.00.0040.00419.35
8.2.180.0100.01016.32
8.2.170.0070.00722.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00420.31
8.2.120.0070.00026.35
8.2.110.0040.00722.11
8.2.100.0090.00317.78
8.2.90.0040.00417.84
8.2.80.0050.00217.97
8.2.70.0030.00517.38
8.2.60.0030.00618.04
8.2.50.0030.00518.10
8.2.40.0080.00022.40
8.2.30.0040.00419.09
8.2.20.0080.00017.92
8.2.10.0040.00417.92
8.2.00.0000.00717.87
8.1.280.0130.01025.92
8.1.270.0080.00022.13
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00924.01
8.1.230.0080.00320.71
8.1.220.0080.00017.74
8.1.210.0030.00518.98
8.1.200.0030.00917.22
8.1.190.0000.00917.10
8.1.180.0080.00018.10
8.1.170.0050.00318.36
8.1.160.0040.00418.93
8.1.150.0030.00618.74
8.1.140.0060.00319.43
8.1.130.0070.00018.84
8.1.120.0030.00317.29
8.1.110.0040.00417.13
8.1.100.0050.00217.23
8.1.90.0050.00317.18
8.1.80.0060.00317.33
8.1.70.0070.00017.34
8.1.60.0050.00317.42
8.1.50.0060.00317.44
8.1.40.0030.00617.25
8.1.30.0070.00017.53
8.1.20.0000.00817.53
8.1.10.0040.00417.34
8.1.00.0000.00717.25
8.0.300.0000.00719.90
8.0.290.0040.00416.63
8.0.280.0030.00318.40
8.0.270.0030.00317.18
8.0.260.0000.00716.65
8.0.250.0060.00016.68
8.0.240.0080.00016.66
8.0.230.0070.00016.80
8.0.220.0000.00616.73
8.0.210.0000.00716.70
8.0.200.0040.00416.80
8.0.190.0050.00316.78
8.0.180.0070.00016.68
8.0.170.0050.00216.75
8.0.160.0000.00716.65
8.0.150.0000.00716.71
8.0.140.0070.00016.66
8.0.130.0030.00313.48
8.0.120.0000.00816.55
8.0.110.0000.00816.64
8.0.100.0000.00816.63
8.0.90.0030.00516.77
8.0.80.0120.00316.82
8.0.70.0000.00816.75
8.0.60.0030.00716.80
8.0.50.0030.00316.74
8.0.30.0100.00816.89
8.0.20.0110.01017.40
8.0.10.0040.00416.75
8.0.00.0100.00716.55
7.4.330.0050.00015.55
7.4.320.0000.00816.34
7.4.300.0030.00316.41
7.4.290.0000.00716.25
7.4.280.0000.00916.43
7.4.270.0070.00016.37
7.4.260.0060.00013.21
7.4.250.0030.00316.22
7.4.240.0030.00416.35
7.4.230.0000.00716.54
7.4.220.0120.00616.52
7.4.210.0040.01116.43
7.4.200.0070.00016.48
7.4.160.0140.00316.38
7.4.150.0090.00917.40
7.4.140.0090.00817.86
7.4.130.0110.00816.65
7.4.120.0130.00516.37
7.4.110.0160.00316.49
7.4.100.0100.00716.29
7.4.90.0090.01216.55
7.4.80.0100.00719.39
7.4.70.0130.00316.64
7.4.60.0090.00616.18
7.4.50.0070.00416.37
7.4.40.0080.00816.48
7.4.30.0090.00616.32
7.3.330.0030.00313.21
7.3.320.0030.00313.07
7.3.310.0040.00415.98
7.3.300.0000.00615.99
7.3.290.0060.00016.13
7.3.280.0060.01116.13
7.3.270.0090.00917.40
7.3.260.0090.01016.29
7.3.250.0080.01116.16
7.3.240.0080.01116.23
7.3.230.0120.00616.47
7.3.210.0100.01316.23
7.3.200.0100.00616.56
7.3.190.0140.00316.08
7.3.180.0060.01216.14
7.3.170.0080.00816.33
7.3.160.0090.00616.23
7.2.330.0070.01416.22
7.2.320.0060.01416.21
7.2.310.0080.01516.42
7.2.300.0100.01016.46
7.2.290.0150.00316.33
7.1.60.2000.01733.10
7.1.50.2270.00032.86
7.1.40.2370.01732.36
7.1.30.2730.01732.61
7.1.20.3070.01332.43
7.1.10.1600.01314.37
7.1.00.1600.01014.50
7.0.200.2470.01314.65
7.0.190.2970.01314.67
7.0.180.2030.01714.27
7.0.170.2970.01014.12
7.0.160.2930.01714.05
7.0.150.2100.01014.22
7.0.140.1470.00714.35
7.0.130.2270.00714.23
7.0.120.2070.01714.66
7.0.110.2230.01014.20
7.0.100.2530.01314.03
7.0.90.2770.02014.21
7.0.80.2630.01714.46
7.0.70.3330.01314.16
7.0.60.2530.01313.93
7.0.50.3070.01014.26
7.0.40.3670.01714.46
7.0.30.3170.01314.64
7.0.20.3000.00314.18
7.0.10.2930.00714.27
7.0.00.2630.00714.43

preferences:
40.67 ms | 400 KiB | 5 Q