ID:               37282
 User updated by:  caluml at gmail dot com
 Reported By:      caluml at gmail dot com
 Status:           Wont fix
 Bug Type:         Feature/Change Request
 Operating System: Linux
 PHP Version:      4.4.2
 New Comment:

I know that lots of scripts will break. But sometimes (global
variables) it's necessary to break a few eggs to make an omelette.


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

[2006-05-03 08:22:26] [EMAIL PROTECTED]

Remember how many scripts this will break if we change it... so we
won't change it.

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

[2006-05-02 18:44:54] caluml at gmail dot com

Description:
------------
Please can we get the mktime function accepting its parameters in a
"standard" order?

Either small to big, or big to small, but something consistent.


It's insane as it is.


I did check to see if this had been reported, and couldn't find
anything, so apologies if it has been.

Reproduce code:
---------------
print date("Y-m-d H:i:s", mktime(06,05,04,03,02,01) );


Expected result:
----------------
I expect to see either:

2006-05-04 03:02:01
or
2001-02-03 04:05:06

Actual result:
--------------
I see this:
2001-03-02 06:05:04


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


-- 
Edit this bug report at http://bugs.php.net/?id=37282&edit=1

Reply via email to