From:             csta4476 at hotmail dot com
Operating system: lunux
PHP version:      Irrelevant
PHP Bug Type:     Date/time related
Bug description:  incorrect function return value

Description:
------------
i'm not sure if anyone else noticed but, this function sometimes behaves
oddly.
here's what i saw:

mktime(0, 0, 0, 02, 9, 2004);

outputs: 1076302800

but,

mktime(0, 0, 0, 02, 09, 2004);

outputs: 1075525200

which is the same as

mktime(0, 0, 0, 02, 0, 2004);

i didn't think the numbers 0 and 09 were the same.

guess i was wrong?!?!?


-- 
Edit bug report at http://bugs.php.net/?id=28095&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28095&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28095&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28095&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28095&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28095&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28095&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28095&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28095&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28095&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28095&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28095&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28095&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28095&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28095&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28095&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28095&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28095&r=float

Reply via email to