ID: 36401 User updated by: marcel dot alburg at alkronet dot info Reported By: marcel dot alburg at alkronet dot info Status: Bogus Bug Type: Date/time related Operating System: Linux PHP Version: 5.1.2 New Comment:
but in previosly versions it get 0 back. because that i mean it's an error thanks marcel alburg Previous Comments: ------------------------------------------------------------------------ [2006-02-15 13:35:19] [EMAIL PROTECTED] Why? The result is correct. You're getting the timestamp for 0 january-1 (december of the previous year), year 0 (which is 2000) at 00:00:00. This is exactly 30 november 1999, 00:00:00 ------------------------------------------------------------------------ [2006-02-15 13:31:15] marcel dot alburg at alkronet dot info Description: ------------ If i enter print mktime(0,0,0,0,0,0) i get "943916400" but it must be "0" print date('r', mktime(0,0,0,0,0,0)); returns Tue, 30 Nov 1999 00:00:00 +0100 Marcel Alburg Reproduce code: --------------- print mktime(0,0,0,0,0,0); returns 943916400 Expected result: ---------------- mktime(0,0,0,0,0,0) must be 0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36401&edit=1