3v4l.org

run code in 300+ PHP versions simultaneously
<?hh // strict $f = $x ==> $y ==> $z ==> $x + $y + $z; //no workies: echo $f(1)(2)(3); echo (($f(1))(2))(3);

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.00318.30
8.3.50.0120.00722.77
8.3.40.0100.00718.50
8.3.30.0030.01018.79
8.3.20.0040.00420.27
8.3.10.0080.00020.54
8.3.00.0000.00819.00
8.2.180.0120.00418.29
8.2.170.0090.00622.96
8.2.160.0070.00722.31
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0060.00319.54
8.2.110.0070.00419.45
8.2.100.0040.00717.58
8.2.90.0000.01119.64
8.2.80.0040.00419.33
8.2.70.0060.00317.63
8.2.60.0040.00717.68
8.2.50.0000.01018.07
8.2.40.0060.00317.91
8.2.30.0080.00017.78
8.2.20.0040.00417.42
8.2.10.0070.00017.86
8.2.00.0040.00417.46
8.1.280.0100.00525.92
8.1.270.0080.00020.45
8.1.260.0050.00226.35
8.1.250.0080.00028.09
8.1.240.0060.00322.53
8.1.230.0120.00020.81
8.1.220.0060.00317.74
8.1.210.0000.00818.91
8.1.200.0030.00617.13
8.1.190.0070.00017.41
8.1.180.0070.00018.10
8.1.170.0030.00518.58
8.1.160.0000.00718.67
8.1.150.0040.00418.82
8.1.140.0040.00417.31
8.1.130.0030.00317.66
8.1.120.0000.00717.40
8.1.110.0040.00417.33
8.1.100.0030.00617.25
8.1.90.0000.00717.23
8.1.80.0030.00617.27
8.1.70.0070.00017.20
8.1.60.0000.00817.40
8.1.50.0040.00417.27
8.1.40.0030.00517.25
8.1.30.0050.00317.37
8.1.20.0070.00017.47
8.1.10.0000.00817.39
8.1.00.0040.00417.22
8.0.300.0000.00719.73
8.0.290.0070.00016.75
8.0.280.0070.00018.31
8.0.270.0070.00017.18
8.0.260.0030.00317.11
8.0.250.0000.00716.71
8.0.240.0030.00316.83
8.0.230.0000.00616.76
8.0.220.0070.00016.78
8.0.210.0000.00716.76
8.0.200.0030.00316.79
8.0.190.0060.00316.79
8.0.180.0000.00716.71
8.0.170.0040.00416.80
8.0.160.0040.00416.75
8.0.150.0000.00816.75
8.0.140.0030.00516.70
8.0.130.0030.00613.39
8.0.120.0050.00216.62
8.0.110.0050.00216.60
8.0.100.0000.00716.64
8.0.90.0000.00716.54
8.0.80.0090.00616.82
8.0.70.0000.00716.77
8.0.60.0070.00016.73
8.0.50.0050.00316.70
8.0.30.0060.01216.88
8.0.20.0110.00917.40
8.0.10.0050.00316.71
8.0.00.0110.00716.82
7.4.330.0050.00215.02
7.4.320.0030.00316.51
7.4.300.0060.00016.50
7.4.290.0000.00616.31
7.4.280.0080.00016.43
7.4.270.0030.00316.36
7.4.260.0000.00816.42
7.4.250.0070.00016.32
7.4.240.0040.00316.44
7.4.230.0000.00716.28
7.4.220.0160.00816.43
7.4.210.0090.00616.40
7.4.200.0040.00416.25
7.4.160.0090.00616.26
7.4.150.0070.01017.40
7.4.140.0070.01017.86
7.4.130.0070.01016.44
7.4.120.0120.00616.45
7.4.110.0000.01716.49
7.4.100.0100.00716.60
7.4.90.0110.00716.31
7.4.80.0100.00716.30
7.4.70.0050.01316.49
7.4.60.0080.00816.29
7.4.50.0080.00016.07
7.4.40.0090.00616.53
7.4.30.0150.00616.50
7.3.330.0000.00513.18
7.3.320.0000.00513.07
7.3.310.0000.00816.25
7.3.300.0030.00316.00
7.3.290.0060.00916.14
7.3.280.0090.00816.14
7.3.270.0000.01917.40
7.3.260.0090.00916.44
7.3.240.0090.00916.39
7.3.230.0090.00916.39
7.3.210.0170.00416.38
7.3.200.0060.00919.39
7.3.190.0150.00316.21
7.3.180.0110.00516.46
7.3.170.0100.00616.28
7.3.160.0090.00616.45
7.2.330.0070.01016.40
7.2.320.0100.00616.61
7.2.310.0080.00816.45
7.2.300.0100.01116.35
7.2.290.0190.00316.56
5.4.350.0080.06312.01
5.4.340.0090.03812.01
5.4.320.0120.05512.45
5.4.310.0080.06412.45
5.4.300.0140.08512.45
5.4.290.0190.09012.45
5.4.280.0210.08512.35
5.4.270.0080.08612.35
5.4.260.0040.04912.35
5.4.250.0260.10012.34
5.4.240.0250.10612.34
5.4.230.0290.07612.34
5.4.220.0140.06212.34
5.4.210.0190.08912.34
5.4.200.0070.04912.34
5.4.190.0090.04212.34
5.4.180.0160.07612.33
5.4.170.0140.06312.35
5.4.160.0070.07912.34
5.4.150.0060.04612.34
5.4.140.0170.06012.02
5.4.130.0270.07112.01
5.4.120.0130.06111.97
5.4.110.0040.04011.97
5.4.100.0070.03611.96
5.4.90.0080.05711.96
5.4.80.0150.06611.97
5.4.70.0100.03711.96
5.4.60.0100.06011.96
5.4.50.0190.08511.96
5.4.40.0110.08111.95
5.4.30.0090.03811.95
5.4.20.0080.06211.94
5.4.10.0070.05411.95
5.4.00.0110.09011.44

preferences:
51.66 ms | 401 KiB | 5 Q