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 UTC+4'));
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Fri, 18 Jan 13 15:44:00 +0100
Output for 5.1.3 - 5.1.6
Fri, 18 Jan 2013 15:44:00 CET
Output for 5.1.2
Fri, 18 Jan 2013 11: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/8Du80 on line 3 ThuAMCETE_RJanuaryC822