3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date(DATE_ATOM, strtotime('+1 day 4 hours'));
Output for 5.1.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
2013-08-02T20:53:47+02:00
Output for 5.1.1 - 5.1.2
2013-08-02T20:53:47+0200
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.1.0
Notice: Use of undefined constant DATE_ATOM - assumed 'DATE_ATOM' in /in/l2Ueb on line 3 FriPMCESTE_PMCEST+0200Aug
Output for 5.0.0 - 5.0.2
Notice: Use of undefined constant DATE_ATOM - assumed 'DATE_ATOM' in /in/l2Ueb on line 3 FriAMCESTE_AMCEST+0200Aug