ID: 20048 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Won\'t fix Bug Type: Unknown/Other Function Operating System: RedHat Linux 7.3 PHP Version: 4.2.2 New Comment:
unix timestamp behavior for negative values is undefined it *may* map to pre-1970 dates but there is no guarantee whatsoever Previous Comments: ------------------------------------------------------------------------ [2002-10-23 14:26:42] [EMAIL PROTECTED] glibc-2.2.5-34 and greater has been changed to return -1 for dates < 1970. This used to work. The problem exists with RedHat 7.3 and 8.0 echo (mktime(0, 0, 0, 1, 1, 1960)); // prints -1 ------------------------------------------------------------------------ [2002-10-23 14:23:48] [EMAIL PROTECTED] glibc-2.2.5-34 and greater has been changed to return -1 for dates < 1970. This used to work. The problem exists with RedHat 7.3 and 8.0 echo (mktime(0, 0, 0, 1, 1, 1960)); // prints -1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20048&edit=1