3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date(DATE_RFC822, strtotime('22.01.2014 14:40 UTC+4'));
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Wed, 22 Jan 14 15:40:00 +0100
Output for 5.1.3 - 5.1.6
Wed, 22 Jan 2014 15:40:00 CET
Output for 5.1.2
Wed, 22 Jan 2014 11:40: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/FoTnk on line 2 ThuAMCETE_RJanuaryC822