note 85853 added to function.http-date
| From: | joshsnyder at earthlink dot net | Date: | Sat, 20 Sep 2008 23:41:23 +0000 |
| Subject: | note 85853 added to function.http-date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-144582@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 64.71.164.2
Probable Submitter: 67.142.130.41 (proxied: 72.169.77.212)
----
Manual Page -- http://www.php.net/manual/en/function.http-date.php
Edit -- https://master.php.net/note/edit/85853
Del: integrated -- https://master.php.net/note/delete/85853/integrated
Del: useless -- https://master.php.net/note/delete/85853/useless
Del: bad code -- https://master.php.net/note/delete/85853/bad+code
Del: spam -- https://master.php.net/note/delete/85853/spam
Del: non-english -- https://master.php.net/note/delete/85853/non-english
Del: in docs -- https://master.php.net/note/delete/85853/in+docs
Del: other reasons-- https://master.php.net/note/delete/85853
Reject -- https://master.php.net/note/reject/85853
Search -- https://master.php.net/manage/user-notes.php