3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d = date(DATE_RFC2822); echo ~~$d,"\n"; echo $d;
Output for 5.1.1 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Wed, 25 Dec 2013 05:56:37 +0100 Wed, 25 Dec 2013 05:56:37 +0100
Output for 4.3.0 - 5.1.0
Notice: Use of undefined constant DATE_RFC2822 - assumed 'DATE_RFC2822' in /in/BASdX on line 2 WedAMCETE_RDecemberC2822 WedAMCETE_RDecemberC2822