3v4l.org

run code in 300+ PHP versions simultaneously
<?hh function a() { try { throw new Exception('hey'); } finally { return true; } } try { echo a(); } catch(Exception $e) { echo "EXCEPT!"; }

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.0150.00618.18
8.3.50.0120.00822.03
8.3.40.0070.00718.51
8.3.30.0150.00618.22
8.3.20.0000.00720.21
8.3.10.0050.00320.43
8.3.00.0080.00020.57
8.2.180.0040.01116.37
8.2.170.0170.00022.96
8.2.160.0130.00020.39
8.2.150.0030.00524.18
8.2.140.0000.00824.66
8.2.130.0080.00019.11
8.2.120.0100.00326.35
8.2.110.0070.00319.41
8.2.100.0000.01117.72
8.2.90.0030.00919.08
8.2.80.0050.00317.97
8.2.70.0070.00417.50
8.2.60.0000.00817.93
8.2.50.0040.00418.09
8.2.40.0050.00320.60
8.2.30.0000.00719.20
8.2.20.0000.00817.45
8.2.10.0040.00417.97
8.2.00.0000.00717.89
8.1.280.0100.00725.92
8.1.270.0050.00323.99
8.1.260.0090.00626.35
8.1.250.0100.00328.09
8.1.240.0050.00521.31
8.1.230.0090.00317.42
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0000.00817.23
8.1.190.0060.00319.01
8.1.180.0050.00318.10
8.1.170.0080.00018.47
8.1.160.0030.00320.74
8.1.150.0030.00518.75
8.1.140.0050.00219.35
8.1.130.0040.00417.48
8.1.120.0080.00017.35
8.1.110.0070.00017.20
8.1.100.0040.00417.35
8.1.90.0000.00717.33
8.1.80.0070.00017.35
8.1.70.0000.00717.24
8.1.60.0000.00817.42
8.1.50.0050.00317.41
8.1.40.0100.00017.39
8.1.30.0050.00317.47
8.1.20.0020.00517.54
8.1.10.0000.00817.47
8.1.00.0000.00717.43
8.0.300.0000.00818.77
8.0.290.0040.00416.58
8.0.280.0040.00418.29
8.0.270.0070.00017.22
8.0.260.0000.00617.13
8.0.250.0040.00416.70
8.0.240.0070.00016.72
8.0.230.0030.00316.70
8.0.220.0020.00516.73
8.0.210.0040.00416.64
8.0.200.0030.00316.80
8.0.190.0040.00416.71
8.0.180.0040.00416.65
8.0.170.0080.00016.75
8.0.160.0080.00016.67
8.0.150.0050.00316.55
8.0.140.0000.00716.65
8.0.130.0050.00013.47
8.0.120.0060.00316.70
8.0.110.0040.00416.82
8.0.100.0000.00716.63
8.0.90.0040.00416.81
8.0.80.0000.01416.71
8.0.70.0040.00416.54
8.0.60.0040.00416.77
8.0.50.0040.00416.63
8.0.30.0120.00917.00
8.0.20.0140.01017.40
8.0.10.0030.00516.69
8.0.00.0030.01516.67
7.4.330.0020.00216.90
7.4.320.0000.00716.51
7.4.300.0000.00616.45
7.4.290.0030.00316.45
7.4.280.0030.00516.37
7.4.270.0070.00016.31
7.4.260.0030.00316.42
7.4.250.0030.00316.22
7.4.240.0030.00316.39
7.4.230.0030.00316.20
7.4.220.0120.00816.39
7.4.210.0080.00816.36
7.4.200.0000.00716.46
7.4.160.0130.00316.39
7.4.150.0060.01317.40
7.4.140.0080.01417.86
7.4.130.0070.01116.29
7.4.120.0130.00716.49
7.4.110.0070.01116.34
7.4.100.0040.01416.38
7.4.90.0080.00916.25
7.4.80.0110.00719.39
7.4.70.0140.00316.33
7.4.60.0060.01116.40
7.4.50.0110.00016.27
7.4.40.0110.00416.44
7.4.30.0040.01316.43
7.3.330.0000.00513.18
7.3.320.0000.00512.95
7.3.310.0000.00616.12
7.3.300.0040.00416.07
7.3.290.0020.00516.11
7.3.280.0080.01016.09
7.3.270.0130.00417.40
7.3.260.0070.01016.01
7.3.250.0080.00816.28
7.3.240.0080.00916.32
7.3.230.0100.00716.39
7.3.210.0100.00716.21
7.3.200.0000.01719.39
7.3.190.0100.00716.46
7.3.180.0060.00916.47
7.3.170.0070.01116.29
7.3.160.0110.00816.38
7.2.330.0070.01016.49
7.2.320.0060.01516.59
7.2.310.0090.01216.46
7.2.300.0140.00516.30
7.2.290.0130.00316.51
7.0.30.0230.09020.23
7.0.20.0270.06020.41
7.0.10.0100.08020.26
7.0.00.0170.07720.05
5.6.180.0200.07020.50
5.6.170.0200.04020.71
5.6.160.0030.09020.57
5.6.150.0170.07018.18
5.6.140.0100.08018.29
5.6.130.0030.05018.23
5.6.120.0070.08020.97
5.6.110.0130.07321.02
5.6.100.0070.06721.00
5.6.90.0100.09020.94
5.6.80.0000.05320.43
5.5.320.0230.03720.27
5.5.310.0170.04320.37
5.5.300.0000.08717.97
5.5.290.0000.04718.08
5.5.280.0070.08720.65
5.5.270.0170.07020.96
5.5.260.0100.04720.96
5.5.250.0100.07020.60
5.5.240.0170.07720.13

preferences:
56.64 ms | 401 KiB | 5 Q