3v4l.org

run code in 300+ PHP versions simultaneously
<?hh class A { public async function f() { $a = async function ($x) { var_dump($x); }; //$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.0090.00918.43
8.3.50.0110.00316.09
8.3.40.0070.00718.68
8.3.30.0110.00418.54
8.3.20.0040.00418.85
8.3.10.0000.00723.65
8.3.00.0070.00419.47
8.2.180.0120.00916.50
8.2.170.0090.00622.96
8.2.160.0100.00620.35
8.2.150.0060.00325.66
8.2.140.0070.00024.66
8.2.130.0070.00020.50
8.2.120.0070.00026.35
8.2.110.0100.00021.04
8.2.100.0090.00317.72
8.2.90.0000.00819.17
8.2.80.0040.00417.97
8.2.70.0030.00617.38
8.2.60.0000.00817.80
8.2.50.0040.00418.10
8.2.40.0000.00720.60
8.2.30.0000.00719.03
8.2.20.0000.00717.98
8.2.10.0040.00418.02
8.2.00.0050.00217.92
8.1.280.0100.01025.92
8.1.270.0040.00422.04
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00021.24
8.1.230.0070.00417.42
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0060.00317.10
8.1.190.0050.00317.10
8.1.180.0080.00018.10
8.1.170.0030.00618.33
8.1.160.0040.00419.00
8.1.150.0060.00320.53
8.1.140.0050.00519.43
8.1.130.0070.00018.75
8.1.120.0030.00317.33
8.1.110.0000.00717.26
8.1.100.0050.00317.32
8.1.90.0070.00017.31
8.1.80.0070.00417.34
8.1.70.0000.00717.31
8.1.60.0000.00817.33
8.1.50.0040.00417.38
8.1.40.0080.00417.38
8.1.30.0080.00017.47
8.1.20.0030.00617.54
8.1.10.0020.00517.40
8.1.00.0040.00417.39
8.0.300.0000.00718.77
8.0.290.0070.00016.63
8.0.280.0000.00718.36
8.0.270.0070.00017.19
8.0.260.0030.00316.70
8.0.250.0000.00616.69
8.0.240.0060.00316.83
8.0.230.0030.00316.74
8.0.220.0060.00016.66
8.0.210.0070.00016.78
8.0.200.0000.00616.80
8.0.190.0040.00416.83
8.0.180.0000.00716.63
8.0.170.0070.00016.64
8.0.160.0080.00016.74
8.0.150.0000.00716.58
8.0.140.0070.00016.69
8.0.130.0000.00613.48
8.0.120.0000.00716.74
8.0.110.0000.00716.53
8.0.100.0080.00016.65
8.0.90.0000.00716.77
8.0.80.0120.00316.70
8.0.70.0000.00816.82
8.0.60.0060.00316.78
8.0.50.0000.00716.79
8.0.30.0060.01316.91
8.0.20.0140.00417.40
8.0.10.0050.00216.86
8.0.00.0100.00716.46
7.4.330.0000.00615.55
7.4.320.0060.00016.44
7.4.300.0000.00716.27
7.4.290.0000.00816.31
7.4.280.0070.00016.41
7.4.270.0030.00316.47
7.4.260.0000.00613.21
7.4.250.0070.00016.40
7.4.240.0000.00716.32
7.4.230.0000.00716.45
7.4.220.0030.01416.29
7.4.210.0100.00916.40
7.4.200.0000.00716.44
7.4.160.0080.00816.39
7.4.150.0130.00317.40
7.4.140.0090.00817.86
7.4.130.0070.01016.37
7.4.120.0110.00716.43
7.4.110.0100.00716.45
7.4.100.0030.01316.23
7.4.90.0110.00616.45
7.4.80.0140.00919.39
7.4.70.0150.00016.36
7.4.60.0060.00916.45
7.4.50.0070.00716.36
7.4.40.0100.00616.30
7.4.30.0060.00916.20
7.3.330.0060.00013.26
7.3.320.0050.00013.28
7.3.310.0040.00416.22
7.3.300.0070.00016.02
7.3.290.0060.00016.17
7.3.280.0080.01016.09
7.3.270.0170.00717.40
7.3.260.0110.00816.08
7.3.250.0120.00916.35
7.3.240.0110.00616.40
7.3.230.0130.00316.35
7.3.210.0060.00916.31
7.3.200.0060.00916.13
7.3.190.0120.00916.40
7.3.180.0130.00416.33
7.3.170.0120.00816.42
7.3.160.0030.01216.24
7.2.330.0130.00716.30
7.2.320.0130.00316.21
7.2.310.0090.00916.34
7.2.300.0160.00016.53
7.2.290.0030.01416.64
7.1.60.3570.01332.86
7.1.50.3900.02032.91
7.1.40.3570.02032.35
7.1.30.6470.01732.52
7.1.20.5000.01332.46
7.1.10.3170.00314.41
7.1.00.4070.01314.70
7.0.200.4300.01314.47
7.0.190.4700.01314.63
7.0.180.4700.01014.12
7.0.170.6970.01314.11
7.0.160.4800.01314.23
7.0.150.1100.01714.42
7.0.140.4000.01014.20
7.0.130.3770.01014.48
7.0.120.3870.01314.33
7.0.110.3030.01714.25
7.0.100.2700.00714.18
7.0.90.1970.00714.37
7.0.80.2030.01014.20
7.0.70.2570.00714.11
7.0.60.2530.01313.93
7.0.50.2630.01314.41
7.0.40.2530.01714.35
7.0.30.2500.00714.46
7.0.20.2170.01014.55
7.0.10.2430.01714.40
7.0.00.2600.01314.38

preferences:
64.8 ms | 401 KiB | 5 Q