#30215 [Com]: strtotime returning huge timestamps instead of -1
| From: | arpad at zooloo dot com | Date: | Mon, 27 Jun 2005 13:24:24 +0000 |
| Subject: | #30215 [Com]: strtotime returning huge timestamps instead of -1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-81077@lists.php.net to get a copy of this message | ||
ID: 30215
Comment by: arpad at zooloo dot com
Reported By: pmurray at nevada dot net dot nz
Status: No Feedback
Bug Type: Date/time related
Operating System: Linux 64bit - Opteron
PHP Version: 5.*, 4.*
Assigned To: derick
New Comment:
derick@php.net:
I'm not sure if this is related but beta2 on 32bit windows behaves a
lot worse than beta1 did:
echo strtotime(1118936460); results in 1119871080 which does not make
sense.
This worked perfectly with beta1.
I have not yet tested this on my 64bit gentoo.
Previous Comments:
------------------------------------------------------------------------
[2005-06-26 01:00:04] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-06-18 21:44:15] derick@php.net
I've no access to a 64bit machine. A temporary account would help here
- let me know by mail if you can provide one.
------------------------------------------------------------------------
[2005-06-17 00:51:34] pmurray at nevada dot net dot nz
Something's changed, but it still doesn't behave properly.
pmurray@wildfire:~/php5-200506162030/sapi/cli> echo "<? print
strtotime(time()) . \"\n\"; ?>" | ./php
-42492861720
------------------------------------------------------------------------
[2005-06-16 21:31:45] derick@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-05-17 09:40:23] weecka at stablebeast dot com
I get the same bug with PHP 5.0.4
mmOK..
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/30215
--
Edit this bug report at http://bugs.php.net/?id=30215&edit=1