3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { try { throw new Exception('try'); } finally { throw new Exception('finally'); } } catch (Exception $exception) { echo 'caught ' . $exception->getMessage(); }

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.4.20.0130.00318.85
8.4.10.0110.00819.48
8.3.150.0080.00017.39
8.3.140.0080.00817.11
8.3.130.0040.00418.43
8.3.120.0130.00318.96
8.3.110.0060.00320.94
8.3.100.0040.00424.06
8.3.90.0060.00326.77
8.3.80.0090.00018.43
8.3.70.0100.01318.30
8.3.60.0100.00716.50
8.3.50.0070.00724.51
8.3.40.0110.00418.82
8.3.30.0070.00718.82
8.3.20.0040.00420.82
8.3.10.0040.00423.66
8.3.00.0090.00020.68
8.2.260.0130.00316.74
8.2.250.0140.00318.50
8.2.240.0030.00617.29
8.2.230.0060.00322.58
8.2.220.0030.00637.54
8.2.210.0000.00726.77
8.2.200.0000.00816.63
8.2.190.0140.00718.54
8.2.180.0140.00716.38
8.2.170.0190.00019.14
8.2.160.0070.01022.96
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00826.16
8.2.110.0090.00020.99
8.2.100.0080.00417.72
8.2.90.0040.00418.32
8.2.80.0070.00318.03
8.2.70.0060.00317.88
8.2.60.0050.00317.75
8.2.50.0050.00318.10
8.2.40.0050.00321.05
8.2.30.0060.00319.31
8.2.20.0040.00418.12
8.2.10.0030.00518.85
8.2.00.0000.00719.14
8.1.310.0060.00318.46
8.1.300.0040.00418.11
8.1.290.0090.00831.31
8.1.280.0120.00325.92
8.1.270.0040.00422.45
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00417.71
8.1.230.0110.00021.04
8.1.220.0040.00417.79
8.1.210.0030.00518.77
8.1.200.0000.00917.35
8.1.190.0000.00817.13
8.1.180.0030.00618.10
8.1.170.0040.00418.50
8.1.160.0040.00420.25
8.1.150.0050.00318.90
8.1.140.0040.00418.86
8.1.130.0000.00720.14
8.1.120.0000.00917.45
8.1.110.0040.00417.38
8.1.100.0050.00517.37
8.1.90.0030.00617.34
8.1.80.0040.00417.40
8.1.70.0040.00417.48
8.1.60.0060.00317.47
8.1.50.0040.00417.53
8.1.40.0040.00417.40
8.1.30.0040.00417.59
8.1.20.0070.00017.66
8.1.10.0000.00717.44
8.1.00.0060.00317.36
8.0.300.0030.00319.95
8.0.290.0070.00016.75
8.0.280.0030.00318.48
8.0.270.0030.00316.82
8.0.260.0000.00620.05
8.0.250.0000.00716.95
8.0.240.0070.00016.93
8.0.230.0000.00817.03
8.0.220.0000.00716.93
8.0.210.0000.00716.83
8.0.200.0070.00017.00
8.0.190.0090.00017.02
8.0.180.0000.00916.86
8.0.170.0050.00316.98
8.0.160.0000.00816.99
8.0.150.0030.00616.92
8.0.140.0080.00016.86
8.0.130.0030.00313.33
8.0.120.0000.00716.96
8.0.110.0000.00816.84
8.0.100.0000.00716.77
8.0.90.0040.00417.02
8.0.80.0100.01016.92
8.0.70.0000.00716.88
8.0.60.0000.00716.86
8.0.50.0080.00017.00
8.0.30.0100.00717.13
8.0.20.0060.01217.12
8.0.10.0070.00017.10
8.0.00.0110.01116.70
7.4.330.0050.00015.55
7.4.320.0000.00616.62
7.4.300.0040.00416.61
7.4.290.0040.00416.59
7.4.280.0040.00416.63
7.4.270.0030.00316.52
7.4.260.0020.00313.23
7.4.250.0070.00016.37
7.4.240.0010.00616.49
7.4.230.0000.00716.63
7.4.220.0040.00416.40
7.4.210.0080.00916.58
7.4.200.0000.00716.35
7.4.130.0070.01016.43
7.4.120.0090.01316.54
7.4.110.0100.00716.68
7.4.100.0120.00616.66
7.4.90.0120.01216.58
7.4.80.0090.00819.39
7.4.70.0100.00616.53
7.4.60.0070.01016.59
7.4.50.0030.01216.49
7.4.40.0050.01216.49
7.4.10.0040.01215.12
7.4.00.0080.00815.15
7.3.330.0000.00816.27
7.3.320.0030.00313.01
7.3.310.0030.00516.36
7.3.300.0070.00016.21
7.3.290.0080.00816.31
7.3.280.0110.00416.31
7.3.260.0060.01216.36
7.3.240.0070.00916.33
7.3.230.0080.00816.40
7.3.210.0080.00816.31
7.3.200.0150.00616.39
7.3.190.0100.00616.41
7.3.180.0070.01416.29
7.3.170.0140.00716.21
7.3.160.0060.01616.36
7.3.130.0070.01014.76
7.3.120.0040.01114.71
7.3.110.0110.00614.79
7.3.100.0090.00514.68
7.3.90.0050.01414.82
7.3.80.0080.00414.79
7.3.70.0090.00314.71
7.3.60.0090.00514.72
7.3.50.0110.00314.70
7.3.40.0060.00614.69
7.3.30.0070.00514.69
7.3.20.0060.00915.56
7.3.10.0090.00515.89
7.3.00.0070.00815.76
7.2.330.0130.01016.54
7.2.320.0100.00716.72
7.2.310.0060.01116.54
7.2.300.0070.01016.55
7.2.290.0060.01016.66
7.2.260.0100.01014.93
7.2.250.0060.01215.18
7.2.240.0060.00814.92
7.2.230.0080.01015.07
7.2.220.0050.00915.04
7.2.210.0060.01014.83
7.2.200.0100.00314.75
7.2.190.0020.01214.76
7.2.180.0100.00514.94
7.2.170.0070.00814.75
7.2.160.0050.00914.99
7.2.150.0070.00715.88
7.2.140.0000.01515.68
7.2.130.0100.00415.96
7.2.120.0050.00715.99
7.2.110.0020.01115.75
7.2.100.0070.00815.79
7.2.90.0090.00516.09
7.2.80.0100.00316.00
7.2.70.0110.00315.94
7.2.60.0080.00615.96
7.2.50.0030.01015.94
7.2.40.0020.01215.92
7.2.30.0050.01115.98
7.2.20.0100.00815.91
7.2.10.0100.00516.00
7.2.00.0050.00915.87
7.1.330.0070.01014.70
7.1.320.0030.00814.78
7.1.310.0100.00614.56
7.1.300.0050.00814.80
7.1.290.0050.00814.80
7.1.280.0050.00814.86
7.1.270.0040.00914.55
7.1.260.0100.00314.92
7.1.250.0030.00814.78
7.1.240.0030.00915.83
7.1.230.0120.00315.63
7.1.220.0060.00915.79
7.1.210.0090.00315.67
7.1.200.0070.01015.92
7.1.190.0040.00415.62
7.1.180.0080.00415.64
7.1.170.0060.01015.73
7.1.160.0030.01215.65
7.1.150.0070.00715.61
7.1.140.0070.00715.89
7.1.130.0070.00715.53
7.1.120.0110.00615.64
7.1.110.0070.00715.81
7.1.100.0090.00615.69
7.1.90.0060.00915.54
7.1.80.0040.00815.63
7.1.70.0000.00815.80
7.1.60.0090.00315.76
7.1.50.0030.00615.69
7.1.40.0120.00015.87
7.1.30.0060.00915.84
7.1.20.0040.00915.85
7.1.10.0000.01015.34
7.1.00.0110.00415.81
5.5.00.0060.00515.47
5.4.450.0060.00112.35

preferences:
70.03 ms | 403 KiB | 5 Q