3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startDate = new DateTime(2016-03-25T00:00:00+01:00); $endDate = new DateTime(2016-03-29T00:00:00+02:00); $diff = $startDate->diff($endDate); echo $diff->format('%a');

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.0100.05320.10
7.0.10.0070.05320.30
7.0.00.0130.05720.18
5.6.170.0330.07320.56
5.6.160.0070.08320.71
5.6.150.0070.03318.23
5.6.140.0000.04318.16
5.6.130.0000.04318.29
5.6.120.0070.08321.04
5.6.110.0100.08021.04
5.6.100.0030.05021.11
5.6.90.0070.08720.99
5.6.80.0130.07320.40
5.5.310.0230.07320.34
5.5.300.0100.08317.97
5.5.290.0100.06717.96
5.5.280.0070.08320.96
5.5.270.0030.08020.61
5.5.260.0030.09020.76
5.5.250.0030.07720.68
5.5.240.0000.08020.24

preferences:
140.34 ms | 1394 KiB | 7 Q