#31223 [Opn->Bgs]: strtotime(int) does not return -1 on amd64
| From: | derick@php.net | Date: | Tue, 21 Dec 2004 07:58:30 +0000 |
| Subject: | #31223 [Opn->Bgs]: strtotime(int) does not return -1 on amd64 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-70803@lists.php.net to get a copy of this message | ||
ID: 31223
Updated by: derick@php.net
Reported By: gabriel at telana dot com
-Status: Open
+Status: Bogus
Bug Type: Date/time related
Operating System: Linux FC1 / AMD64
PHP Version: 5.0.3
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
Dup of #30215
Previous Comments:
------------------------------------------------------------------------
[2004-12-21 08:38:59] gabriel at telana dot com
Description:
------------
calling strtotime with an integer as the first argument correctly
returns -1 on i386, but a huge 64-bit int on AMD64.
Reproduce code:
---------------
echo strtotime(time());
Expected result:
----------------
-1
Actual result:
--------------
3420597366000
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31223&edit=1