#28095 [Opn->Bgs]: incorrect function return value
| From: | magnus@php.net | Date: | Wed, 21 Apr 2004 16:06:21 +0000 |
| Subject: | #28095 [Opn->Bgs]: incorrect function return value | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-58530@lists.php.net to get a copy of this message | ||
ID: 28095
Updated by: magnus@php.net
Reported By: csta4476 at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: Date/time related
Operating System: lunux
PHP Version: Irrelevant
New Comment:
00, 01, 02, 03, 04, 05, 06, 07 are octets..
Previous Comments:
------------------------------------------------------------------------
[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