3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // prints something like: 2000-07-01T00:00:00+00:00 echo date(DATE_ATOM, mktime(0, 0, 0, 7, 1, 2000));
Output for 5.1.3 - 7.1.0
2000-07-01T00:00:00+02:00
Output for 5.1.1 - 5.1.2
2000-07-01T00:00:00+0200
Output for 4.3.0 - 5.1.0
Notice: Use of undefined constant DATE_ATOM - assumed 'DATE_ATOM' in /in/VUZLa on line 4 SatAMCESTE_AMCEST+0200Jul