3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date(DATE_ATOM, strtotime('2014-04-18 18:30:00'));
Output for 5.1.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
2014-04-18T18:30:00+02:00
Output for 5.1.1 - 5.1.2
2014-04-18T18:30:00+0200
Output for 4.3.0 - 5.1.0
Notice: Use of undefined constant DATE_ATOM - assumed 'DATE_ATOM' in /in/1N20q on line 2 FriPMCESTE_PMCEST+0200Apr