ID: 27866 Updated by: [EMAIL PROTECTED] Reported By: andrew at mansionproductions dot com -Status: Feedback +Status: No Feedback Bug Type: Date/time related Operating System: FreeBSD 4.8 PHP Version: 4.3.5 New Comment:
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2004-04-05 08:18:44] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2004-04-05 06:46:36] [EMAIL PROTECTED] $ uname -mrs FreeBSD 4.8-RELEASE alpha $ php -r 'var_dump(mktime(0,0,0,4,4,2004));' int(1081029600) Make sure you have set up your locales and timezones correctly. ------------------------------------------------------------------------ [2004-04-05 06:35:58] andrew at mansionproductions dot com Description: ------------ mktime(0,0,0,4,4,2004) returns -7262 Reproduce code: --------------- <?php $time = mktime(0,0,0,4,4,2004) ?> Expected result: ---------------- $test should be 1081026000 Actual result: -------------- $time is -7262 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27866&edit=1