Re: PHP 4.0 Bug #5037 Updated: mktime / strftime bugs
| From: | Hartmut Holzgraefe | Date: | Wed, 14 Jun 2000 21:16:48 +0000 |
| Subject: | Re: PHP 4.0 Bug #5037 Updated: mktime / strftime bugs | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21346@lists.php.net to get a copy of this message | ||
Zeev Suraski wrote:
> IMO the first one (strftime(-1)) should crash any reasonable libc
> implementation without a problem. That's not what PHP is supposed to be
> calling, though (it's supposed to convert it to strftime("-1", ...). I'll
> try to reproduce it.
>
it is converted to string "-1", so it should return "-1" for each and
any
timestamp (and it does under linux)