3v4l.org

run code in 300+ PHP versions simultaneously
<?php function do() { try { throw Exception ('a'); } finally { throw Exception ('b'); } } try { do(); } Catch (Exception $e) { var_dump($e->getMessage(), $e->getPrevious()->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)
5.6.150.0100.03718.28
5.6.140.0070.08318.14
5.6.130.0030.04018.18
5.6.120.0030.04020.96
5.6.110.0100.08021.09
5.6.100.0200.07320.97
5.6.90.0100.05321.03
5.6.80.0000.04020.37
5.5.300.0030.04017.98
5.5.290.0000.06018.02
5.5.280.0070.05320.86
5.5.270.0100.06720.95
5.5.260.0170.07320.96
5.5.250.0100.08720.68
5.5.240.3730.04320.15

preferences:
137.27 ms | 1394 KiB | 7 Q