Bug #10550: mktime() returns -1 for certain valid dates

From: Date: Sun, 29 Apr 2001 10:46:27 +0000
Subject: Bug #10550: mktime() returns -1 for certain valid dates
Groups: php.dev 
Request: Send a blank email to php-dev+get-52881@lists.php.net to get a copy of this message
From: chris.php@bolt.cx Operating system: FreeBSD 3.4-RELEASE PHP version: 4.0 Latest CVS (29/04/2001) PHP Bug Type: Date/time related Bug description: mktime() returns -1 for certain valid dates $ cat test.php <?= mktime(1, 18, 27, 4, 1, 2001) . "\n" . mktime(2, 18, 27, 4, 1, 2001) . "\n" . mktime(3, 18, 27, 4, 1, 2001) . "\n"; ?> $ php -q test.php 986113107 -1 986116707 $ -- Edit Bug report at: http://bugs.php.net/?id=10550&edit=1

« previous php.dev (#52881) next »