3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo ("Expires: ".gmdate("D, d M Y H:i:s", time() + 3600)." GMT"); echo "\n"; $d1 = date("l, d-M-Y H:i:s T") + 10*24*60*60; print_r( $d1);
based on H6r9P
Output for 7.1.0 - 7.2.0
Expires: Thu, 22 Oct 2015 12:09:28 GMT Warning: A non-numeric value encountered in /in/o14RV on line 5 864000
Output for 5.4.0 - 7.0.20
Expires: Thu, 22 Oct 2015 12:09:28 GMT 864000