3v4l.org

run code in 300+ PHP versions simultaneously
<?hh class A { public async static function f() { $a = static async 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.0160.00318.18
8.3.50.0070.00716.38
8.3.40.0100.01018.54
8.3.30.0060.00918.58
8.3.20.0040.00418.72
8.3.10.0040.00423.53
8.3.00.0050.00319.41
8.2.180.0140.00718.29
8.2.170.0070.00722.96
8.2.160.0070.00720.39
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0070.00020.55
8.2.120.0070.00026.35
8.2.110.0000.00920.98
8.2.100.0110.00018.22
8.2.90.0050.00319.34
8.2.80.0000.00817.97
8.2.70.0000.00817.93
8.2.60.0020.00518.03
8.2.50.0000.00818.10
8.2.40.0000.00822.23
8.2.30.0000.00719.13
8.2.20.0070.00017.85
8.2.10.0070.00017.79
8.2.00.0000.00717.80
8.1.280.0130.01025.92
8.1.270.0070.00022.10
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0080.00022.05
8.1.230.0040.00819.03
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0030.00617.10
8.1.190.0060.00317.22
8.1.180.0040.00418.10
8.1.170.0040.00418.58
8.1.160.0000.00818.99
8.1.150.0040.00718.75
8.1.140.0030.00719.42
8.1.130.0000.00818.75
8.1.120.0080.00017.25
8.1.110.0000.00717.20
8.1.100.0020.00517.22
8.1.90.0030.00517.29
8.1.80.0080.00317.32
8.1.70.0000.00717.22
8.1.60.0080.00017.45
8.1.50.0000.00717.33
8.1.40.0060.00617.28
8.1.30.0000.00717.47
8.1.20.0040.00417.46
8.1.10.0060.00317.49
8.1.00.0040.00417.29
8.0.300.0030.00319.67
8.0.290.0030.00616.63
8.0.280.0030.00318.29
8.0.270.0030.00317.11
8.0.260.0000.00616.74
8.0.250.0030.00316.70
8.0.240.0000.00816.82
8.0.230.0000.00816.77
8.0.220.0000.00616.77
8.0.210.0030.00316.77
8.0.200.0000.00616.80
8.0.190.0040.00416.68
8.0.180.0050.00216.80
8.0.170.0070.00016.82
8.0.160.0000.00716.71
8.0.150.0030.00316.73
8.0.140.0040.00416.71
8.0.130.0030.00313.32
8.0.120.0000.00716.69
8.0.110.0000.00816.61
8.0.100.0040.00416.57
8.0.90.0000.00816.66
8.0.80.0080.00816.73
8.0.70.0050.00216.76
8.0.60.0060.00416.59
8.0.50.0000.00816.57
8.0.30.0090.00917.01
8.0.20.0100.00917.40
8.0.10.0070.00016.87
8.0.00.0130.00316.53
7.4.330.0000.00515.55
7.4.320.0030.00316.47
7.4.300.0040.00416.35
7.4.290.0080.00016.35
7.4.280.0000.00816.48
7.4.270.0030.00316.36
7.4.260.0030.00313.24
7.4.250.0000.00816.41
7.4.240.0000.00716.31
7.4.230.0000.00616.36
7.4.220.0070.01016.43
7.4.210.0080.00916.46
7.4.200.0030.00316.27
7.4.160.0110.00916.39
7.4.150.0140.00417.40
7.4.140.0050.01517.86
7.4.130.0120.00616.33
7.4.120.0080.01116.40
7.4.110.0040.01816.41
7.4.100.0110.00616.40
7.4.90.0140.00316.26
7.4.80.0030.01319.39
7.4.70.0050.01116.35
7.4.60.0060.00916.30
7.4.50.0030.00916.44
7.4.40.0110.01116.34
7.4.30.0090.00616.07
7.3.330.0000.00513.01
7.3.320.0000.00513.07
7.3.310.0050.00215.95
7.3.300.0000.00716.11
7.3.290.0070.00016.04
7.3.280.0090.00916.10
7.3.270.0140.00417.40
7.3.260.0140.00916.40
7.3.250.0080.01116.35
7.3.240.0140.00416.17
7.3.230.0090.00916.26
7.3.210.0150.00616.43
7.3.200.0100.00516.30
7.3.190.0130.00316.33
7.3.180.0100.00716.20
7.3.170.0090.00616.07
7.3.160.0150.00016.18
7.2.330.0080.01116.43
7.2.320.0030.01416.47
7.2.310.0070.01716.36
7.2.300.0060.01016.41
7.2.290.0100.00616.60
7.1.60.1330.00733.29
7.1.50.1130.01332.77
7.1.40.3000.01732.50
7.1.30.0270.02732.41
7.1.20.1070.01732.53
7.1.10.0670.01314.51
7.1.00.2970.01014.41
7.0.200.1170.01014.57
7.0.190.1130.01714.81
7.0.180.4000.00714.13
7.0.170.1930.00714.15
7.0.160.4400.01314.09
7.0.150.2230.01014.20
7.0.140.2930.01014.34
7.0.130.2600.01014.54
7.0.120.3070.01714.39
7.0.110.2070.01014.36
7.0.100.2130.01014.15
7.0.90.2400.01714.15
7.0.80.1830.01314.36
7.0.70.2230.00714.29
7.0.60.1570.00714.05
7.0.50.1530.01014.32
7.0.40.1630.00714.45
7.0.30.1600.00714.56
7.0.20.0970.02014.62
7.0.10.1130.01314.42
7.0.00.2300.01014.29

preferences:
49.97 ms | 401 KiB | 5 Q