3v4l.org

run code in 300+ PHP versions simultaneously
<?hh class A { public async static function f() { $a = async static 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.0110.00718.43
8.3.50.0110.00416.05
8.3.40.0090.00618.55
8.3.30.0040.01118.57
8.3.20.0000.00918.81
8.3.10.0000.00723.48
8.3.00.0060.00319.35
8.2.180.0170.00316.63
8.2.170.0140.00722.96
8.2.160.0090.00620.36
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0000.00720.53
8.2.120.0070.00026.35
8.2.110.0000.00922.20
8.2.100.0110.00017.78
8.2.90.0030.00517.84
8.2.80.0050.00317.97
8.2.70.0040.00417.38
8.2.60.0040.00417.79
8.2.50.0050.00318.10
8.2.40.0090.00022.36
8.2.30.0070.00019.11
8.2.20.0040.00417.98
8.2.10.0040.00417.79
8.2.00.0040.00417.80
8.1.280.0090.01225.92
8.1.270.0040.00422.05
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0160.00623.96
8.1.230.0120.00020.87
8.1.220.0080.00017.74
8.1.210.0040.00418.84
8.1.200.0000.01017.11
8.1.190.0080.00017.11
8.1.180.0040.00418.10
8.1.170.0040.00418.27
8.1.160.0000.00718.93
8.1.150.0050.00518.76
8.1.140.0070.00319.43
8.1.130.0030.00318.74
8.1.120.0000.00717.21
8.1.110.0070.00017.37
8.1.100.0040.00417.22
8.1.90.0040.00417.21
8.1.80.0070.00417.32
8.1.70.0040.00417.25
8.1.60.0040.00417.32
8.1.50.0070.00017.38
8.1.40.0000.01217.28
8.1.30.0040.00417.34
8.1.20.0050.00217.46
8.1.10.0000.00717.33
8.1.00.0000.00717.34
8.0.300.0000.00719.87
8.0.290.0040.00416.63
8.0.280.0030.00318.36
8.0.270.0030.00317.18
8.0.260.0050.00216.74
8.0.250.0000.00616.69
8.0.240.0080.00016.72
8.0.230.0030.00316.77
8.0.220.0030.00316.63
8.0.210.0000.00716.70
8.0.200.0000.00616.85
8.0.190.0040.00416.87
8.0.180.0070.00016.68
8.0.170.0000.00816.83
8.0.160.0050.00216.80
8.0.150.0000.00716.59
8.0.140.0040.00416.64
8.0.130.0070.00013.38
8.0.120.0080.00016.67
8.0.110.0000.00816.73
8.0.100.0030.00516.61
8.0.90.0000.00816.79
8.0.80.0040.01516.78
8.0.70.0050.00316.70
8.0.60.0060.00316.74
8.0.50.0040.00416.77
8.0.30.0100.01016.96
8.0.20.0080.01117.40
8.0.10.0000.00716.88
8.0.00.0070.01016.92
7.4.330.0050.00015.55
7.4.320.0030.00316.38
7.4.300.0020.00516.46
7.4.290.0070.00016.25
7.4.280.0030.00616.46
7.4.270.0000.00716.29
7.4.260.0030.00313.24
7.4.250.0070.00016.40
7.4.240.0000.00716.48
7.4.230.0070.00016.26
7.4.220.0070.01116.41
7.4.210.0080.00916.28
7.4.200.0030.00316.24
7.4.160.0130.00516.40
7.4.150.0160.00617.40
7.4.140.0130.00817.86
7.4.130.0070.01016.42
7.4.120.0110.00816.34
7.4.110.0130.00616.34
7.4.100.0060.01016.17
7.4.90.0030.01316.41
7.4.80.0040.01319.39
7.4.70.0120.00316.52
7.4.60.0060.00916.36
7.4.50.0110.00416.59
7.4.40.0140.00716.43
7.4.30.0120.00316.15
7.3.330.0030.00313.22
7.3.320.0000.00512.98
7.3.310.0000.00716.14
7.3.300.0030.00316.11
7.3.290.0030.00315.96
7.3.280.0090.00716.10
7.3.270.0080.01217.40
7.3.260.0110.01016.36
7.3.250.0120.00916.21
7.3.240.0110.00616.25
7.3.230.0130.00716.39
7.3.210.0100.00716.23
7.3.200.0120.00916.11
7.3.190.0030.01316.22
7.3.180.0120.00616.38
7.3.170.0120.00916.41
7.3.160.0090.00616.41
7.2.330.0130.01016.25
7.2.320.0100.00716.38
7.2.310.0180.00016.58
7.2.300.0030.01416.47
7.2.290.0110.00516.32
7.1.60.2270.01733.10
7.1.50.2700.01332.90
7.1.40.3370.01732.35
7.1.30.3630.02732.61
7.1.20.2970.02032.65
7.1.10.3070.00714.56
7.1.00.3200.01314.38
7.0.200.3070.01714.60
7.0.190.4370.00314.77
7.0.180.3170.01014.13
7.0.170.4070.01714.16
7.0.160.4270.01014.09
7.0.150.3100.01714.24
7.0.140.2430.00714.23
7.0.130.2530.01314.36
7.0.120.2430.01014.36
7.0.110.3130.00714.33
7.0.100.2600.01014.17
7.0.90.2100.01314.37
7.0.80.1770.01014.37
7.0.70.1530.01314.14
7.0.60.1870.00714.17
7.0.50.2000.01714.28
7.0.40.1830.00714.63
7.0.30.2030.01314.38
7.0.20.2170.01014.33
7.0.10.1970.00314.52
7.0.00.2500.01714.30

preferences:
42.61 ms | 400 KiB | 5 Q