3v4l.org

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

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.0270.08320.10
7.0.10.0070.08720.07
7.0.00.0070.08720.20
5.6.170.0430.07320.66
5.6.160.0000.05320.44
5.6.150.0030.04318.14
5.6.140.0100.08018.18
5.6.130.0170.07018.14
5.6.120.0200.07321.02
5.6.110.0070.06720.94
5.6.100.0100.08020.99
5.6.90.0070.07720.98
5.6.80.0000.05320.43
5.5.310.0300.05020.35
5.5.300.0000.05317.96
5.5.290.0030.08717.95
5.5.280.0100.04720.77
5.5.270.0130.07320.87
5.5.260.0070.07320.79
5.5.250.0000.04320.46
5.5.240.3830.04320.12

preferences:
143.39 ms | 1394 KiB | 7 Q