3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('hhvm.log.always_log_unhandled_exceptions', false) set_exception_handler( function ($exception) { error_log("handling $exception"); }); throw new Exception("I'm an exception");

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.00.0100.05320.17
5.6.160.0130.07720.41
5.6.150.0170.07318.19
5.6.140.0100.07318.29
5.6.130.0000.09018.14
5.6.120.0070.08721.05
5.6.110.0100.08321.13
5.6.100.0030.06320.98
5.6.90.0130.07721.13
5.6.80.0070.08320.38
5.5.300.0030.04317.97
5.5.290.0100.08017.91
5.5.280.0070.05020.76
5.5.270.0130.06720.86
5.5.260.0070.05720.86
5.5.250.0170.07320.58
5.5.240.0070.07720.14

preferences:
139.68 ms | 1394 KiB | 7 Q