3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface ExpRetorno { public function } class Exp extends Ex class a { public $retorno; public function test() { try { throw new Exception('Error!'); } catch(ExceptionRetorno $e) { $e->response; } } public function __destruct() { echo $this->retorno; } } call_user_func(array('a', 'test'));

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.20.0170.04020.22
7.0.10.0170.06720.33
7.0.00.0130.08020.08
5.6.170.0200.04720.57
5.6.160.0030.04020.54
5.6.150.0030.08318.25
5.6.140.0030.04018.14
5.6.130.0070.08718.12
5.6.120.0030.04021.11
5.6.110.0000.04720.99
5.6.100.0200.07021.04
5.6.90.0100.08320.97
5.6.80.0130.08020.37
5.5.310.0200.06020.31
5.5.300.0030.04017.98
5.5.290.0130.08018.08
5.5.280.0030.04720.76
5.5.270.0030.04020.79
5.5.260.0100.08020.95
5.5.250.0000.09020.61
5.5.240.0200.07320.16

preferences:
142.13 ms | 1386 KiB | 7 Q