3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php $e = new Exception("Bar"); try { throw new Exception("Foo", 0, $e); } finally { throw $e; }

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.10.0070.04020.20
7.0.00.0100.07320.22
5.6.160.0170.03020.50
5.6.150.0100.08018.23
5.6.140.0170.06718.28
5.6.130.0100.04018.24
5.6.120.0100.07721.12
5.6.110.0030.05720.93
5.6.100.0130.04021.02
5.6.90.0200.07020.94
5.6.80.0070.07320.51
5.5.300.0070.04017.98
5.5.290.0130.07717.98
5.5.280.0100.07020.87
5.5.270.0000.05020.67
5.5.260.0070.07320.72
5.5.250.0170.06320.69
5.5.240.0070.04320.18

preferences:
137.22 ms | 1394 KiB | 7 Q