Re: HTTP_Header 1.0.0 stable
| From: | Michael Wallner | Date: | Mon, 19 Jul 2004 16:32:32 +0000 |
| Subject: | Re: HTTP_Header 1.0.0 stable | ||
| References: | 1 2 3 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-1759@lists.php.net to get a copy of this message | ||
Hi Michael Wallner, you wrote:
> Thanks a lot! This should be fixed in CVS and here:
> http://dev.iworks.at/PEAR/HTTP_Header-1.0.0.tgz
>
> PHP5s strtotime() returns a ts with 0 o'clock for yesterday.
Just a side-note to avoid misinterpretion:
It was not a bug of HTTP_Header but of the test script,
which blatantly assumed that strtotime('yesterday')
returns time() minus exactly 24 hours.
That is true for PHP4 but not for PHP5.
Regards & thanks,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc