#43133 [Opn->Fbk]: Mktime bug
| From: | derick@php.net | Date: | Tue, 30 Oct 2007 08:10:08 +0000 |
| Subject: | #43133 [Opn->Fbk]: Mktime bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-119056@lists.php.net to get a copy of this message | ||
ID: 43133
Updated by: derick@php.net
Reported By: machineextractor at yahoo dot com
-Status: Open
+Status: Feedback
Bug Type: PHP options/info functions
Operating System: Windows Xp
PHP Version: 5.2.4
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2007-10-30 00:14:32] carsten_sttgt at gmx dot de
"mktime(0, 0, 0, 3, 0, 2040)" is out of the range of a valid unix
timestamp. This call returns FALSE here (PHP-CLI 5.2.4 /XP), which is
correct.
You are using more functions then mktime()?
Regards,
Carsten
------------------------------------------------------------------------
[2007-10-29 23:39:07] machineextractor at yahoo dot com
Description:
------------
The function maketime has a bug
If i want to know how many days are in february 2040 the function
return 31.
february does not have more than 29 days
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43133&edit=1