3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { throw new \Exception('1'); } catch (\Exception $ex1) { echo "c1"; throw new \Exception('2'); } finally { ech('1'); } function ech ($a) { echo $a; }

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.40.0120.00318.71
8.3.30.0120.00318.84
8.3.20.0080.00020.20
8.3.10.0050.00323.53
8.3.00.0080.00019.85
8.2.170.0100.00322.96
8.2.160.0090.00620.38
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00021.07
8.2.120.0040.00426.35
8.2.110.0090.00020.22
8.2.100.0080.00317.93
8.2.90.0000.00819.17
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0030.01017.65
8.2.50.0040.00418.07
8.2.40.0040.00421.07
8.2.30.0050.00520.46
8.2.20.0040.00417.69
8.2.10.0070.00018.11
8.2.00.0070.00018.06
8.1.270.0130.00318.73
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0060.00324.00
8.1.230.0070.00317.70
8.1.220.0090.00017.74
8.1.210.0040.00418.77
8.1.200.0040.00717.48
8.1.190.0030.00617.25
8.1.180.0000.00718.10
8.1.170.0000.00818.66
8.1.160.0070.00020.69
8.1.150.0040.00418.88
8.1.140.0040.00419.67
8.1.130.0030.00317.71
8.1.120.0000.00717.38
8.1.110.0050.00317.42
8.1.100.0030.00317.43
8.1.90.0000.00717.51
8.1.80.0050.00317.45
8.1.70.0000.00717.35
8.1.60.0070.00017.55
8.1.50.0000.00817.54
8.1.40.0060.00317.44
8.1.30.0020.00517.62
8.1.20.0030.00617.59
8.1.10.0040.00417.55
8.1.00.0040.00417.50
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0000.00818.35
8.0.270.0030.00317.26
8.0.260.0030.00317.17
8.0.250.0030.00317.02
8.0.240.0000.00816.98
8.0.230.0030.00316.86
8.0.220.0000.00816.86
8.0.210.0040.00416.79
8.0.200.0040.00416.84
8.0.190.0030.00516.91
8.0.180.0070.00016.88
8.0.170.0080.00016.79
8.0.160.0040.00416.90
8.0.150.0000.00816.98
8.0.140.0030.00716.91
8.0.130.0050.00013.35
8.0.120.0070.00017.00
8.0.110.0080.00016.90
8.0.100.0030.00316.84
8.0.90.0000.00716.75
8.0.80.0040.01116.89
8.0.70.0040.00416.73
8.0.60.0000.00717.01
8.0.50.0070.00016.80
8.0.30.0110.00817.16
8.0.20.0090.01017.42
8.0.10.0030.00516.98
8.0.00.0140.00316.94
7.4.330.0000.00516.71
7.4.320.0030.00316.59
7.4.300.0040.00416.51
7.4.290.0060.00016.57
7.4.280.0020.00516.46
7.4.270.0000.00716.55
7.4.260.0000.00716.57
7.4.250.0030.00416.54
7.4.240.0030.00416.53
7.4.230.0070.00016.71
7.4.220.0200.00716.45
7.4.210.0000.01916.57
7.4.200.0040.00416.63
7.4.160.0070.01316.40
7.4.150.0090.00917.40
7.4.140.0070.01217.86
7.4.130.0100.00616.44
7.4.120.0070.01116.42
7.4.110.0180.00016.68
7.4.100.0070.01016.55
7.4.90.0100.01316.47
7.4.80.0080.01119.39
7.4.70.0110.00516.47
7.4.60.0120.00316.50
7.4.50.0000.01316.53
7.4.40.0100.00616.68
7.4.30.0130.00816.51
7.4.00.0060.01214.90
7.3.330.0060.00013.44
7.3.320.0050.00013.37
7.3.310.0030.00316.21
7.3.300.0070.00016.43
7.3.290.0060.01016.32
7.3.280.0080.01116.36
7.3.270.0070.01017.40
7.3.260.0090.01416.63
7.3.250.0120.00916.46
7.3.240.0090.00916.37
7.3.230.0100.00716.46
7.3.210.0060.01116.35
7.3.200.0070.01116.37
7.3.190.0080.00816.56
7.3.180.0030.01316.64
7.3.170.0090.00916.53
7.3.160.0180.00016.51
7.3.120.0110.00714.97
7.3.110.0100.01015.08
7.3.100.0060.01214.65
7.3.90.0030.01114.88
7.3.80.0060.00614.87
7.3.70.0030.01314.94
7.3.60.0060.00614.96
7.3.50.0120.00014.63
7.3.40.0090.00614.69
7.3.30.0000.01714.73
7.3.20.0080.00316.66
7.3.10.0150.00016.41
7.3.00.0100.00316.85
7.2.330.0100.00716.72
7.2.320.0190.00316.37
7.2.310.0060.01216.76
7.2.300.0130.00316.44
7.2.290.0060.01516.61
7.2.250.0040.01615.27
7.2.240.0060.01514.84
7.2.230.0000.01614.82
7.2.220.0060.00315.13
7.2.210.0000.01315.00
7.2.200.0000.00914.78
7.2.190.0030.00914.97
7.2.180.0100.00714.64
7.2.170.0030.01415.02
7.2.80.0100.00616.46
7.2.60.0040.01216.97
7.2.00.0060.00919.15
7.1.330.0070.00715.69
7.1.320.0070.00415.68
7.1.310.0000.01216.04
7.1.300.0100.00315.85
7.1.290.0060.00915.52
7.1.280.0060.00815.67
7.1.270.0090.00315.55
7.1.260.0040.00815.78
7.1.200.0030.01015.79
7.1.100.0060.00617.79
7.1.70.0060.00317.03
7.1.60.0030.02019.50
7.1.50.0120.01216.99
7.1.00.0030.07322.48
7.0.200.0000.00816.86
7.0.60.0100.08020.02
7.0.50.0070.04317.87
7.0.40.0070.04320.11
7.0.30.0230.04020.09
7.0.20.0270.04320.06
7.0.10.0030.06020.15
7.0.00.0030.08720.16
5.6.280.0000.03321.16
5.6.210.0130.07720.47
5.6.200.0070.08018.20
5.6.190.0070.09320.63
5.6.180.0300.04320.41
5.6.170.0300.03320.39
5.6.160.0030.04020.43
5.6.150.0030.08318.28
5.6.140.0130.05718.17
5.6.130.0070.08018.24
5.6.120.0030.04321.08
5.6.110.0130.07721.02
5.6.100.0070.09021.13
5.6.90.0100.08021.11
5.6.80.0070.07720.38
5.5.350.0100.07320.35
5.5.340.0070.06717.99
5.5.330.0030.04020.35
5.5.320.0030.08320.35
5.5.310.0200.03720.19
5.5.300.0070.08717.99
5.5.290.0030.03718.03
5.5.280.0100.08320.88
5.5.270.0100.04720.86
5.5.260.0000.04720.87
5.5.250.0030.09020.70
5.5.240.0070.03020.28

preferences:
44.74 ms | 400 KiB | 5 Q