3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo gmdate(DATE_RFC2822, strtotime(date('H:i')) + 60*60 );
Output for 5.1.1 - 7.1.7
Thu, 20 Mar 2014 17:28:00 +0000
Output for 4.3.0 - 5.1.0
Notice: Use of undefined constant DATE_RFC2822 - assumed 'DATE_RFC2822' in /in/YXgkB on line 2 ThuPMGMTE_RMarchC2822