ID: 19414 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Date/time related Operating System: Windows 2000 SP2 PHP Version: 4.2.3 New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-09-15 05:06:06] [EMAIL PROTECTED] Actually should probably return -1 as 4.2.4-dev does, as it is out of the range of a long. ------------------------------------------------------------------------ [2002-09-15 04:54:48] [EMAIL PROTECTED] PHP version: 4.3.0-dev PHP: 20020307 PHP Extension: 20020429 Zend Extension: 20020903 >From snaps.php.net Under windows mktime causes php to crash when it's result is greater than (2^32)-1 ie: echo mktime(3,14,7,1,19,2038); outputs 2147436847 ((2^32)-1) on second into the future echo mktime(3,14,8,1,19,2038); crashes. should return 2^32 - Mike :-) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19414&edit=1
