3v4l.org

run code in 200+ 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 UTC+0'));
Output for 5.2.0 - 7.2.0
Fri, 18 Jan 13 15:44:00 +0100
Output for 5.1.2 - 5.1.6
Fri, 18 Jan 2013 15:44:00 CET
Output for 5.1.1
Thu, 01 Jan 1970 01:00:00 CET
Output for 4.3.0 - 5.1.0
Notice: Use of undefined constant DATE_RFC822 - assumed 'DATE_RFC822' in /in/TfFuS on line 3 ThuAMCETE_RJanuaryC822