ID:               28095
 Updated by:       [EMAIL PROTECTED]
 Reported By:      csta4476 at hotmail dot com
 Status:           Bogus
 Bug Type:         Date/time related
 Operating System: lunux
 PHP Version:      Irrelevant
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Leading zeros make octal numbers. Octal 09 doesn't exists and becomes
0.


Previous Comments:
------------------------------------------------------------------------

[2004-04-21 18:06:21] [EMAIL PROTECTED]

00, 01, 02, 03, 04, 05, 06, 07 are octets..

------------------------------------------------------------------------

[2004-04-21 17:43:59] csta4476 at hotmail dot com

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 this bug report at http://bugs.php.net/?id=28095&edit=1

Reply via email to