3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //echo date("Y-m-d H:i:s `GMT` O"); echo date(DATE_RFC822, strtotime('18.01.2013 14:44 GMT+0'));
Output for 5.2.0 - 7.1.0
Fri, 18 Jan 13 15:44:00 +0100
Output for 5.1.1 - 5.1.6
Fri, 18 Jan 2013 15:44:00 CET
Output for 5.1.0
Notice: Use of undefined constant DATE_RFC822 - assumed 'DATE_RFC822' in /in/fPiF8 on line 3 FriPMCETE_RJanuaryC822
Output for 4.3.0 - 5.0.5
Notice: Use of undefined constant DATE_RFC822 - assumed 'DATE_RFC822' in /in/fPiF8 on line 3 ThuAMCETE_RJanuaryC822