note 85853 deleted from function.http-date by sobak
| From: | sobak@php.net | Date: | Sun, 04 Dec 2016 07:20:16 +0000 |
| Subject: | note 85853 deleted from function.http-date by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208042@lists.php.net to get a copy of this message | ||
Note Submitter: joshsnyder at earthlink dot net
----
Not sure if this is a failure of documentation or a bug, but it is worth noting that this function
seems to return the timestamp of the script execution by default, not the current time. So e.g.
this:
<?php
echo http_date();
sleep(60);
echo http_date();
?>
will output the exact same string twice.