ID: 22400 Updated by: [EMAIL PROTECTED] Reported By: alan at frostick dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: WIN32 PHP Version: 4.3.1 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: ------------------------------------------------------------------------ [2003-02-24 12:53:16] alan at frostick dot com PHP Manual (version 13-01-2003) "Warning: mktime() [function.mktime.html]: Windows does not support negative values for this function" This is not noted in the referenced manual page, in fact examples of how it can be used are given instead. Presumably Windows users need a test like: if (PHP_OS=="WIN32") code_your_own_mktime(...); // when negative values are to be used else mktime(...); // Unix is OKAY with negative values :-) from your friendly code_your_own dept... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22400&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
