Re: [PHP-DEV] Bug #1285: mktime(2,0,0,4,4,1999) produces result -1 From: Sascha Schumann (sascha <email protected>)
Date: 04/03/99

On Sat, Apr 03, 1999 at 10:58:43PM -0000, howard <email protected> wrote:
> From: howard <email protected>
> Operating system: Unix
> PHP version: 3.0.6
> PHP Bug Type: Misbehaving function
> Bug description: mktime(2,0,0,4,4,1999) produces result -1

Works for me, however I cannot find any relevant log message which would
suggest a significant change in our code.

What for a "Unix" are you on?

---------
[sascha <email protected> php3]$ ./php asd
Content-type: text/html

923184000= 04.04.1999
941328000= 31.10.1999
[sascha <email protected> php3]$ cat asd
<?

function p($a) {
        echo $a."= ".date("d.m.Y", $a)."\n";
}

p(mktime(2,0,0,4,4,1999));
p(mktime(2,0,0,10,31,1999));

-- 

Regards,

Sascha Schumann | Consultant | finger sas <email protected> | for PGP public key

-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>