3v4l.org

run code in 300+ PHP versions simultaneously
<?php class NotThis extends \Exception { public function __construct($mess) { parent::__construct($mess); } } function goBla () { try { throw new \Exception("x"); } catch (\Exception $e) { echo "bla"; } finally { throw new \NotThis("x"); } } function goBla();

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)
7.0.110.0170.05020.41
7.0.100.0570.05320.18
7.0.90.0270.06720.16
7.0.80.0370.07020.27
7.0.70.0200.05720.36
7.0.60.0200.06020.20
7.0.50.0300.05020.21
7.0.40.0230.05720.31
7.0.30.0270.05320.15
7.0.20.0230.06020.15
7.0.10.0270.05320.21
7.0.00.0330.05020.23
5.6.260.0100.06720.92
5.6.250.0070.06021.00
5.6.240.0030.06720.99
5.6.230.0070.06721.08
5.6.220.0100.05320.87
5.6.210.0070.06020.96
5.6.200.0100.05721.06
5.6.190.0070.06021.02
5.6.180.0100.05321.10
5.6.170.0070.05721.05
5.6.160.0100.05720.84
5.6.150.0230.07020.81
5.6.140.0070.06321.00
5.6.130.0170.05021.09
5.6.120.0170.05321.01
5.6.110.0170.05720.99
5.6.100.0130.05720.99
5.6.90.0200.07320.92
5.6.80.0200.04320.23
5.6.70.0100.05320.39
5.6.60.0170.05720.47
5.6.50.0230.05320.30
5.6.40.0100.07020.37
5.6.30.0130.05320.22
5.6.20.0100.06020.37
5.6.10.0200.06020.40
5.6.00.0130.05720.29

preferences:
142.05 ms | 1394 KiB | 7 Q