3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() : object { return null; } try { echo foo(); } catch ($e \EngineException) { vre_dump($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)
5.6.150.0000.05318.23
5.6.140.0100.04718.14
5.6.130.0000.04718.27
5.6.120.0030.04021.00
5.6.110.0030.07321.14
5.6.100.0130.05320.95
5.6.90.0170.06021.13
5.6.80.0130.07720.53
5.5.300.0070.03717.98
5.5.290.0070.04317.99
5.5.280.0000.07020.87
5.5.270.0070.05720.76
5.5.260.0000.06320.76
5.5.250.0000.07320.78
5.5.240.0270.07320.13

preferences:
143.09 ms | 1394 KiB | 7 Q