3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() { try { throw new Exception('test'); } catch (Exception $e) { print "catch and rethrow!\n"; throw $e; } finally { print "finally!\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.43
8.3.50.0120.00316.32
8.3.40.0100.00718.82
8.3.30.0110.00318.73
8.3.20.0020.00520.16
8.3.10.0040.00423.66
8.3.00.0050.00323.54
8.2.180.0040.01416.63
8.2.170.0170.00022.96
8.2.160.0140.00720.46
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0040.00419.82
8.2.120.0080.00026.35
8.2.110.0060.00322.13
8.2.100.0040.00817.93
8.2.90.0000.00819.13
8.2.80.0070.00317.97
8.2.70.0080.00017.50
8.2.60.0000.00818.04
8.2.50.0000.00818.07
8.2.40.0050.00220.60
8.2.30.0050.00319.41
8.2.20.0070.00017.67
8.2.10.0030.00517.95
8.2.00.0040.00418.10
8.1.280.0070.00725.92
8.1.270.0050.00520.38
8.1.260.0050.00328.09
8.1.250.0020.00528.09
8.1.240.0180.00022.52
8.1.230.0090.00619.15
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.36
8.1.190.0030.00617.35
8.1.180.0030.00618.10
8.1.170.0040.00418.59
8.1.160.0040.00420.81
8.1.150.0000.00718.88
8.1.140.0040.00419.50
8.1.130.0050.00317.56
8.1.120.0070.00017.43
8.1.110.0040.00417.32
8.1.100.0040.00417.47
8.1.90.0070.00017.43
8.1.80.0070.00017.46
8.1.70.0070.00017.41
8.1.60.0030.00617.54
8.1.50.0000.00917.37
8.1.40.0060.00317.48
8.1.30.0030.00517.66
8.1.20.0020.00517.48
8.1.10.0000.00817.47
8.1.00.0040.00417.49
8.0.300.0070.00018.77
8.0.290.0000.00816.75
8.0.280.0070.00018.44
8.0.270.0000.00717.24
8.0.260.0000.00717.12
8.0.250.0030.00316.96
8.0.240.0000.00816.80
8.0.230.0070.00016.96
8.0.220.0000.00716.78
8.0.210.0050.00216.88
8.0.200.0000.01016.98
8.0.190.0000.00716.82
8.0.180.0070.00016.91
8.0.170.0080.00016.85
8.0.160.0000.00716.85
8.0.150.0000.00716.92
8.0.140.0030.00316.95
8.0.130.0070.00013.28
8.0.120.0090.00016.90
8.0.110.0080.00016.95
8.0.100.0040.00416.93
8.0.90.0040.00416.81
8.0.80.0080.00917.00
8.0.70.0040.00416.75
8.0.60.0020.00516.90
8.0.50.0000.00716.80
8.0.30.0140.00517.09
8.0.20.0100.00817.40
8.0.10.0050.00316.95
8.0.00.0120.01016.74
7.4.330.0050.00016.69
7.4.320.0030.00316.54
7.4.300.0000.00816.41
7.4.290.0080.00016.49
7.4.280.0030.00616.39
7.4.270.0030.00316.48
7.4.260.0030.00616.49
7.4.250.0080.00016.45
7.4.240.0050.00216.47
7.4.230.0030.00316.62
7.4.220.0110.00416.61
7.4.210.0110.00916.54
7.4.200.0000.00716.39
7.4.160.0160.00016.64
7.4.150.0090.00917.40
7.4.140.0050.01617.86
7.4.130.0100.00716.59
7.4.120.0090.00916.46
7.4.110.0150.00316.55
7.4.100.0030.01916.63
7.4.90.0090.00916.42
7.4.80.0090.00919.39
7.4.70.0180.00316.66
7.4.60.0030.01316.42
7.4.50.0090.00616.53
7.4.40.0120.00616.59
7.4.30.0030.01316.64
7.4.00.0030.01215.04
7.3.330.0000.00513.34
7.3.320.0060.00013.36
7.3.310.0030.00316.33
7.3.300.0000.00716.37
7.3.290.0070.01016.33
7.3.280.0050.00916.35
7.3.270.0090.00917.40
7.3.260.0060.01116.32
7.3.250.0120.00716.38
7.3.240.0080.00916.46
7.3.230.0080.00816.50
7.3.210.0110.01116.49
7.3.200.0090.00916.46
7.3.190.0130.00616.37
7.3.180.0100.00716.56
7.3.170.0080.00816.45
7.3.160.0120.00916.46
7.2.330.0070.01116.61
7.2.320.0090.00916.54
7.2.310.0030.01316.68
7.2.300.0060.01016.56
7.2.290.0040.01716.82
7.2.60.0190.00416.87
7.2.50.0070.01016.96
7.2.00.0040.01119.48
7.1.200.0000.01215.75
7.1.100.0030.01018.15
7.1.70.0060.00617.16
7.1.60.0070.01319.27
7.1.50.0030.00716.84
7.1.00.0030.07722.54
7.0.200.0030.00616.42
7.0.60.0000.06321.69
7.0.50.0030.07717.95
7.0.40.0070.05720.09
7.0.30.0270.03320.23
7.0.20.0230.03320.08
7.0.10.0100.07320.21
7.0.00.0130.08320.23
5.6.280.0030.04321.08
5.6.210.0130.07320.51
5.6.200.0070.08018.27
5.6.190.0070.04720.55
5.6.180.0500.06720.67
5.6.170.0300.06720.39
5.6.160.0100.05020.54
5.6.150.0070.06718.17
5.6.140.0100.07718.24
5.6.130.0070.08018.18
5.6.120.0100.08321.00
5.6.110.0130.06321.00
5.6.100.0100.06320.98
5.6.90.0100.05021.00
5.6.80.0000.08320.54
5.5.350.0070.05320.29
5.5.340.0070.06318.07
5.5.330.0100.07720.29
5.5.320.0200.05320.34
5.5.310.0130.04720.36
5.5.300.0070.03718.02
5.5.290.0030.08318.02
5.5.280.0130.08020.80
5.5.270.0130.08020.64
5.5.260.0030.05320.87
5.5.250.0030.08020.64
5.5.240.0330.07320.15

preferences:
58.59 ms | 400 KiB | 5 Q