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.0130.00318.43
8.3.50.0150.00016.16
8.3.40.0080.00818.59
8.3.30.0110.00418.54
8.3.20.0030.00518.90
8.3.10.0040.00421.78
8.3.00.0040.00719.35
8.2.180.0100.01016.32
8.2.170.0140.00722.96
8.2.160.0070.00720.35
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0070.00020.38
8.2.120.0070.00026.35
8.2.110.0030.00619.32
8.2.100.0090.00317.66
8.2.90.0000.00819.09
8.2.80.0000.00817.97
8.2.70.0080.00017.50
8.2.60.0020.00517.93
8.2.50.0030.00518.10
8.2.40.0040.00420.50
8.2.30.0040.00419.02
8.2.20.0040.00417.82
8.2.10.0000.00817.96
8.2.00.0040.00417.91
8.1.280.0150.00325.92
8.1.270.0020.00522.20
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0060.00322.01
8.1.230.0080.00317.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.10
8.1.190.0080.00017.23
8.1.180.0030.00618.10
8.1.170.0000.00818.34
8.1.160.0050.00218.93
8.1.150.0090.00018.64
8.1.140.0030.00619.50
8.1.130.0070.00018.78
8.1.120.0030.00317.34
8.1.110.0050.00217.29
8.1.100.0000.00817.19
8.1.90.0040.00417.19
8.1.80.0030.00617.20
8.1.70.0000.00717.35
8.1.60.0080.00017.46
8.1.50.0080.00017.34
8.1.40.0030.00717.24
8.1.30.0000.00717.40
8.1.20.0070.00317.55
8.1.10.0020.00517.43
8.1.00.0040.00417.33
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0000.00718.28
8.0.270.0030.00317.18
8.0.260.0030.00316.67
8.0.250.0070.00016.71
8.0.240.0060.00316.81
8.0.230.0040.00416.84
8.0.220.0070.00016.64
8.0.210.0070.00016.75
8.0.200.0030.00316.74
8.0.190.0030.00516.83
8.0.180.0000.00816.81
8.0.170.0030.00316.71
8.0.160.0000.00716.69
8.0.150.0030.00316.59
8.0.140.0040.00416.69
8.0.130.0060.00013.41
8.0.120.0000.00816.62
8.0.110.0000.00816.77
8.0.100.0000.00716.78
8.0.90.0050.00516.66
8.0.80.0090.00616.67
8.0.70.0040.00416.59
8.0.60.0030.00716.70
8.0.50.0030.00316.79
8.0.30.0130.00717.05
8.0.20.0110.00717.40
8.0.10.0030.00316.76
8.0.00.0060.01016.40
7.4.330.0000.00515.55
7.4.320.0030.00316.47
7.4.300.0070.00016.32
7.4.290.0000.00716.36
7.4.280.0000.00716.27
7.4.270.0070.00016.38
7.4.260.0030.00313.21
7.4.250.0030.00316.34
7.4.240.0040.00416.47
7.4.230.0000.00716.28
7.4.220.0120.00616.47
7.4.210.0070.00716.41
7.4.200.0030.00316.26
7.4.160.0060.00916.32
7.4.150.0120.00617.40
7.4.140.0090.00817.86
7.4.130.0090.00916.50
7.4.120.0120.00716.30
7.4.110.0140.00716.59
7.4.100.0070.01016.43
7.4.90.0030.01316.46
7.4.80.0160.00019.39
7.4.70.0060.01116.37
7.4.60.0120.00316.43
7.4.50.0060.01016.42
7.4.40.0100.00716.45
7.4.30.0120.00316.46
7.3.330.0020.00213.21
7.3.320.0050.00013.23
7.3.310.0000.00715.98
7.3.300.0000.00616.13
7.3.290.0070.00016.12
7.3.280.0080.01016.14
7.3.270.0170.00817.40
7.3.260.0090.00916.38
7.3.250.0130.00816.12
7.3.240.0080.00916.24
7.3.230.0090.00916.14
7.3.210.0070.01116.53
7.3.200.0060.01116.34
7.3.190.0080.00816.46
7.3.180.0030.01316.18
7.3.170.0070.01416.17
7.3.160.0120.00316.19
7.2.330.0100.01316.42
7.2.320.0090.00616.64
7.2.310.0060.00916.42
7.2.300.0120.00416.56
7.2.290.0080.00816.46
7.1.60.2700.01333.07
7.1.50.2630.01032.87
7.1.40.2330.02032.40
7.1.30.3770.00732.48
7.1.20.2370.01332.61
7.1.10.1830.01314.62
7.1.00.2130.01014.43
7.0.200.3170.00714.69
7.0.190.3030.01014.80
7.0.180.2570.01014.44
7.0.170.3800.01014.10
7.0.160.2770.01713.96
7.0.150.2470.01013.98
7.0.140.2700.01314.32
7.0.130.1530.00714.41
7.0.120.2770.01314.52
7.0.110.2870.01314.36
7.0.100.2870.00714.32
7.0.90.2400.02014.16
7.0.80.2800.00714.18
7.0.70.2870.01314.27
7.0.60.3200.01314.13
7.0.50.2830.02014.50
7.0.40.3270.01714.33
7.0.30.2830.02014.43
7.0.20.3300.01714.38
7.0.10.3270.01314.39
7.0.00.3170.00314.36

preferences:
54.42 ms | 400 KiB | 5 Q