3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lastDate = '01-11-2016'; $interval = 'P0Y0M1D'; $lastJob = new \Datetime(); $lastJob->setTimestamp($lastDate); echo ('Last Sent: '.$lastJob->format('Y/m/d')); echo " " $interval = new \DateInterval($interval); echo ('Interval: '.$interval->format('%y years, %m months, %d days')); echo " " echo $lastJob->diff($currentJob); echo " " echo $lastJob->add($interval);

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.0230.03320.21
7.0.10.0170.07720.24
7.0.00.0030.08020.07
5.6.170.0500.06720.60
5.6.160.0070.04320.48
5.6.150.0000.06018.17
5.6.140.0130.07318.21
5.6.130.0000.04318.23
5.6.120.0000.08321.05
5.6.110.0030.08321.04
5.6.100.0170.08020.88
5.6.90.0070.08321.10
5.6.80.0200.06320.52
5.5.310.0370.05020.19
5.5.300.0070.04017.94
5.5.290.0030.08318.03
5.5.280.0070.04720.84
5.5.270.0100.08020.95
5.5.260.0030.04320.97
5.5.250.0000.04320.70
5.5.240.3900.04020.19

preferences:
143.91 ms | 1394 KiB | 7 Q