Date: 02/24/03
- Next message: dgilkison at lanter dot com : "[PHP-DOC] #22405 [NEW]: srthwrbg"
- Previous message: alan at frostick dot com: "[PHP-DOC] #22399 [NEW]: file_exists : example given of shared path format is obviously defective"
- Next in thread: pollita <email protected>: "[PHP-DOC] #22400 [Opn->Csd]: mktime does not permit negative values under windows. This is not documented."
- Reply: pollita <email protected>: "[PHP-DOC] #22400 [Opn->Csd]: mktime does not permit negative values under windows. This is not documented."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: alan at frostick dot com
Operating system: WIN32
PHP version: 4.3.1
PHP Bug Type: Documentation problem
Bug description: mktime does not permit negative values under windows. This is not documented.
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 bug report at http://bugs.php.net/?id=22400&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22400&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22400&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22400&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22400&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22400&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22400&r=support Expected behavior: http://bugs.php.net/fix.php?id=22400&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22400&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22400&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22400&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22400&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22400&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22400&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22400&r=gnused-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: dgilkison at lanter dot com : "[PHP-DOC] #22405 [NEW]: srthwrbg"
- Previous message: alan at frostick dot com: "[PHP-DOC] #22399 [NEW]: file_exists : example given of shared path format is obviously defective"
- Next in thread: pollita <email protected>: "[PHP-DOC] #22400 [Opn->Csd]: mktime does not permit negative values under windows. This is not documented."
- Reply: pollita <email protected>: "[PHP-DOC] #22400 [Opn->Csd]: mktime does not permit negative values under windows. This is not documented."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

