3v4l.org

run code in 300+ PHP versions simultaneously
<?hh class A { function f() { $a = static static async static static static static function () { $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.0100.00718.29
8.3.50.0090.00616.05
8.3.40.0100.00718.45
8.3.30.0140.00018.60
8.3.20.0080.00018.90
8.3.10.0040.00421.73
8.3.00.0080.00019.41
8.2.180.0060.01216.32
8.2.170.0140.00022.96
8.2.160.0070.00720.36
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00020.52
8.2.120.0170.00026.35
8.2.110.0070.00320.39
8.2.100.0080.00317.78
8.2.90.0030.00519.09
8.2.80.0040.00417.97
8.2.70.0030.00717.50
8.2.60.0060.00317.93
8.2.50.0040.00418.10
8.2.40.0000.00720.42
8.2.30.0000.00820.98
8.2.20.0040.00417.82
8.2.10.0000.00717.79
8.2.00.0000.00718.02
8.1.280.0110.00725.92
8.1.270.0040.00421.82
8.1.260.0000.00826.35
8.1.250.0060.00328.09
8.1.240.0040.00420.86
8.1.230.0040.00719.13
8.1.220.0060.00317.74
8.1.210.0080.00018.77
8.1.200.0030.00617.22
8.1.190.0090.00017.23
8.1.180.0000.00818.10
8.1.170.0090.00018.64
8.1.160.0040.00418.98
8.1.150.0000.00820.46
8.1.140.0030.00619.31
8.1.130.0070.00018.68
8.1.120.0000.00717.23
8.1.110.0000.00717.20
8.1.100.0040.00417.29
8.1.90.0000.00817.28
8.1.80.0030.00617.38
8.1.70.0040.00417.21
8.1.60.0040.00417.35
8.1.50.0050.00317.39
8.1.40.0070.00717.34
8.1.30.0040.00417.36
8.1.20.0030.00517.57
8.1.10.0040.00417.36
8.1.00.0030.00617.31
8.0.300.0000.00818.77
8.0.290.0000.00716.59
8.0.280.0080.00018.28
8.0.270.0030.00317.28
8.0.260.0030.00716.66
8.0.250.0070.00016.88
8.0.240.0030.00616.87
8.0.230.0030.00616.71
8.0.220.0000.00716.73
8.0.210.0000.00716.73
8.0.200.0040.00416.87
8.0.190.0000.00816.81
8.0.180.0050.00316.77
8.0.170.0000.00716.83
8.0.160.0040.00416.79
8.0.150.0030.00316.69
8.0.140.0040.00416.61
8.0.130.0040.00313.42
8.0.120.0080.00016.75
8.0.110.0000.00716.62
8.0.100.0030.00316.62
8.0.90.0000.00716.82
8.0.80.0070.01016.75
8.0.70.0040.00416.80
8.0.60.0040.00416.75
8.0.50.0040.00416.55
8.0.30.0120.00616.96
8.0.20.0150.00717.40
8.0.10.0000.00716.89
8.0.00.0130.01016.42
7.4.330.0060.00015.55
7.4.320.0030.00316.45
7.4.300.0060.00016.42
7.4.290.0060.00316.28
7.4.280.0000.00816.37
7.4.270.0000.00716.51
7.4.260.0030.00316.48
7.4.250.0050.00316.23
7.4.240.0040.00416.49
7.4.230.0040.00416.46
7.4.220.0100.00716.39
7.4.210.0020.01316.38
7.4.200.0030.00316.48
7.4.160.0110.00516.28
7.4.150.0170.00317.40
7.4.140.0080.01017.86
7.4.130.0140.00316.24
7.4.120.0090.00916.31
7.4.110.0100.00716.50
7.4.100.0030.01316.27
7.4.90.0100.00716.41
7.4.80.0080.01219.39
7.4.70.0030.01316.21
7.4.60.0060.01316.45
7.4.50.0130.00016.46
7.4.40.0070.01416.39
7.4.30.0140.00316.40
7.3.330.0060.00013.28
7.3.320.0050.00013.18
7.3.310.0000.00715.93
7.3.300.0040.00416.10
7.3.290.0030.00316.08
7.3.280.0100.00716.11
7.3.270.0040.01317.40
7.3.260.0090.01116.40
7.3.250.0110.00816.41
7.3.240.0090.01116.21
7.3.230.0070.01016.30
7.3.210.0040.01216.39
7.3.200.0030.01616.22
7.3.190.0130.00316.42
7.3.180.0090.00616.29
7.3.170.0030.01516.32
7.3.160.0090.00616.20
7.2.330.0030.01216.38
7.2.320.0030.01316.22
7.2.310.0100.00616.22
7.2.300.0100.00616.20
7.2.290.0100.00716.52
7.1.60.0430.02033.18
7.1.50.0300.01332.84
7.1.40.0470.01332.20
7.1.30.0470.02332.44
7.1.20.0500.01732.59
7.1.10.0130.00714.46
7.1.00.0130.01314.56
7.0.200.0070.01314.86
7.0.190.0200.01314.56
7.0.180.1030.01314.24
7.0.170.3430.01314.29
7.0.160.0500.01014.40
7.0.150.0070.01714.27
7.0.140.0100.01314.36
7.0.130.0800.01014.38
7.0.120.8800.01014.52
7.0.110.0230.00314.34
7.0.100.0130.01314.22
7.0.90.0100.01014.34
7.0.80.0100.01014.54
7.0.70.0100.01014.43
7.0.60.0100.00714.20
7.0.50.0070.01714.52
7.0.40.5130.02014.46
7.0.30.0030.01714.39
7.0.20.3570.00714.32
7.0.10.4300.01014.46
7.0.00.0100.01014.33

preferences:
55.91 ms | 401 KiB | 5 Q