3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() { try { throw new Exception("ex1"); } finally { try { throw new Exception("ex2"); } catch (Exception $e) { echo "caught exception: $e ....\n"; } echo "end of finally.\n"; } echo "This should not get executed.\n"; } foo();

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.0070.00718.18
8.3.50.0120.00821.11
8.3.40.0040.01118.78
8.3.30.0140.00318.89
8.3.20.0070.01020.25
8.3.10.0040.00423.71
8.3.00.0040.00422.39
8.2.180.0030.01118.66
8.2.170.0110.00422.96
8.2.160.0090.00620.33
8.2.150.0030.00625.66
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0060.00317.75
8.2.110.0060.00319.34
8.2.100.0090.00317.75
8.2.90.0000.00919.05
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0050.00317.80
8.2.50.0030.00518.07
8.2.40.0050.00321.07
8.2.30.0040.00417.95
8.2.20.0000.00717.63
8.2.10.0000.00718.02
8.2.00.0000.00718.13
8.1.280.0070.01025.92
8.1.270.0080.00020.29
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0140.00323.89
8.1.230.0080.00417.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0040.00417.35
8.1.180.0000.00718.10
8.1.170.0050.00318.60
8.1.160.0040.00421.93
8.1.150.0070.00318.90
8.1.140.0030.00617.38
8.1.130.0000.00717.58
8.1.120.0040.00417.50
8.1.110.0000.00717.50
8.1.100.0040.00417.48
8.1.90.0050.00317.50
8.1.80.0040.00417.39
8.1.70.0030.00317.45
8.1.60.0030.00617.47
8.1.50.0000.00917.41
8.1.40.0000.00817.55
8.1.30.0000.00817.55
8.1.20.0080.00017.63
8.1.10.0050.00217.59
8.1.00.0040.00417.41
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0040.00418.49
8.0.270.0000.00717.27
8.0.260.0000.00617.25
8.0.250.0040.00416.95
8.0.240.0040.00417.06
8.0.230.0000.00716.89
8.0.220.0000.00716.98
8.0.210.0000.00716.93
8.0.200.0000.00717.03
8.0.190.0000.00816.95
8.0.180.0070.00016.91
8.0.170.0000.00816.96
8.0.160.0030.00316.81
8.0.150.0030.00316.79
8.0.140.0040.00416.81
8.0.130.0040.00313.35
8.0.120.0000.00816.84
8.0.110.0000.00817.00
8.0.100.0000.00716.96
8.0.90.0000.00716.95
8.0.80.0150.00016.98
8.0.70.0050.00216.97
8.0.60.0000.00816.82
8.0.50.0000.00716.95
8.0.30.0110.00617.06
8.0.20.0080.01317.40
8.0.10.0040.00417.02
8.0.00.0080.00916.83
7.4.330.0060.00015.15
7.4.320.0040.00416.61
7.4.300.0060.00016.61
7.4.290.0030.00316.40
7.4.280.0000.00816.40
7.4.270.0000.00716.53
7.4.260.0000.00716.54
7.4.250.0000.00716.48
7.4.240.0000.00716.53
7.4.230.0000.00716.71
7.4.220.0110.01116.60
7.4.210.0070.00916.66
7.4.200.0000.00716.32
7.4.160.0090.00616.59
7.4.150.0170.00717.40
7.4.140.0100.01217.86
7.4.130.0080.01016.61
7.4.120.0100.00716.58
7.4.110.0100.00716.61
7.4.100.0140.01016.65
7.4.90.0100.00716.55
7.4.80.0070.01419.39
7.4.70.0130.00316.42
7.4.60.0070.01016.51
7.4.50.0020.00216.28
7.4.40.0060.01016.46
7.4.30.0070.01016.32
7.4.00.0030.01315.09
7.3.330.0030.00313.18
7.3.320.0000.00513.22
7.3.310.0030.00316.39
7.3.300.0030.00316.40
7.3.290.0040.00416.30
7.3.280.0090.00816.35
7.3.270.0130.00317.40
7.3.260.0120.00516.48
7.3.250.0080.00916.43
7.3.240.0000.01716.40
7.3.230.0170.00616.56
7.3.210.0130.00316.47
7.3.200.0070.01019.39
7.3.190.0110.00916.49
7.3.180.0170.00016.33
7.3.170.0090.01316.55
7.3.160.0060.01516.51
7.2.330.0130.01016.23
7.2.320.0100.00616.64
7.2.310.0140.00416.57
7.2.300.0090.00616.57
7.2.290.0120.00616.69
7.2.60.0030.01316.86
7.2.00.0040.01119.44
7.1.200.0040.01115.80
7.1.100.0040.00717.92
7.1.70.0040.00416.81
7.1.60.0090.01620.03
7.1.50.0130.00916.72
7.1.00.0000.08022.46
7.0.200.0120.00014.97
7.0.60.0030.07319.92
7.0.50.0070.05717.84
7.0.40.0070.04320.41
7.0.30.0230.03720.11
7.0.20.0130.04320.23
7.0.10.0030.09020.14
7.0.00.0130.08320.22
5.6.280.0100.05720.82
5.6.210.0030.06320.71
5.6.200.0100.08018.24
5.6.190.0070.05720.47
5.6.180.0230.04720.47
5.6.170.0200.03720.44
5.6.160.0100.07320.48
5.6.150.0000.05718.29
5.6.140.0100.07018.28
5.6.130.0030.04018.19
5.6.120.0100.06021.00
5.6.110.0030.09321.11
5.6.100.0070.04021.09
5.6.90.0070.03721.00
5.6.80.0130.07320.41
5.5.350.2870.03320.47
5.5.340.0100.06018.07
5.5.330.0130.07720.41
5.5.320.0300.04720.35
5.5.310.0200.04320.24
5.5.300.0200.07018.03
5.5.290.0000.08718.01
5.5.280.0070.04320.94
5.5.270.0170.04720.88
5.5.260.0100.03720.68
5.5.250.0070.04720.68
5.5.240.0130.07720.35
5.4.450.0130.05019.52
5.4.440.0170.04019.31
5.4.430.0230.04019.63
5.4.420.0230.03719.48
5.4.410.0230.03719.33
5.4.400.0200.03319.31
5.4.390.0300.04019.17
5.4.380.0100.04319.09
5.4.370.0230.03319.02
5.4.360.0170.04319.13
5.4.350.0170.03719.15
5.4.340.0200.03318.87
5.4.320.0230.03718.95
5.4.310.0170.03718.87
5.4.300.0170.05019.08
5.4.290.0200.03319.21
5.4.280.0170.04019.22
5.4.270.0170.03718.95
5.4.260.0200.03319.24
5.4.250.0130.04019.30
5.4.240.0200.03719.21
5.4.230.0170.03719.08
5.4.220.0200.06018.99
5.4.210.0170.04319.21
5.4.200.0130.04019.19
5.4.190.0230.06718.96
5.4.180.0230.07019.10
5.4.170.0270.05718.86
5.4.160.0200.05018.85
5.4.150.0170.04719.04
5.4.140.0270.07016.52
5.4.130.0300.05716.46
5.4.120.0270.06716.38
5.4.110.0200.04716.54
5.4.100.0200.05316.54
5.4.90.0230.03716.56
5.4.80.0270.06316.54
5.4.70.0300.06316.44

preferences:
48.8 ms | 401 KiB | 5 Q