3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ext=date(DATE_RFC822); echo $ext; ?>
Output for 5.2.0 - 7.1.10
Tue, 28 Jan 14 00:02:12 +0100
Output for 5.1.1 - 5.1.6
Tue, 28 Jan 2014 00:02:12 CET
Output for 4.3.0 - 5.1.0
Notice: Use of undefined constant DATE_RFC822 - assumed 'DATE_RFC822' in /in/0NC7o on line 2 TueAMCETE_RJanuaryC822