Re: PHP 4.0 Bug #5037 Updated: mktime / strftime bugs

From: Date: Wed, 14 Jun 2000 22:19:45 +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-21348@lists.php.net to get a copy of this message
At 23:16 14/06/2000, Hartmut Holzgraefe wrote:
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)
I can't reproduce the problem under Windows 2000 either. It works fine for me. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.dev (#21348) next »