#32425 [Fbk->Bgs]: mktime() - Out of range problem
| From: | sniper@php.net | Date: | Thu, 24 Mar 2005 17:53:17 +0000 |
| Subject: | #32425 [Fbk->Bgs]: mktime() - Out of range problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-76957@lists.php.net to get a copy of this message | ||
ID: 32425
Updated by: sniper@php.net
Reported By: dsacchet at kikamedical dot com
-Status: Feedback
+Status: Bogus
Bug Type: Date/time related
Operating System: Linux 2.4.27
PHP Version: 4.3.10
New Comment:
.
Previous Comments:
------------------------------------------------------------------------
[2005-03-24 18:53:08] sniper@php.net
This is anyhow just problem with your system -> bogus.
------------------------------------------------------------------------
[2005-03-24 18:14:10] dsacchet at kikamedical dot com
It will be difficult to upgrade the gcc version because this
version is not stable onto gentoo. Do you want me to make
some test with C program. I have good notion of C programming
so if you tell me make a program like that, compile and
execute, I can do that (do you use the C mktime into the
php source ?)
------------------------------------------------------------------------
[2005-03-24 18:04:53] sniper@php.net
Can you try upgrading your GCC to 3.4.3 ?
------------------------------------------------------------------------
[2005-03-24 10:40:06] dsacchet at kikamedical dot com
# ./configure --disable-all --disable-cgi && make
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
...
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
venus php4-STABLE-200503240730 # sapi/cli/php -r \
> 'echo date("M-d-Y H:i:s", mktime(8, 0, 60, 12, 31,
> 1997))."\n\n";'
Dec-31-1997 08:00:59
venus php4-STABLE-200503240730 #
So ... same result ... I become crazy ! :)
Do you want some output from the ./configure ?
------------------------------------------------------------------------
[2005-03-23 23:42:18] sniper@php.net
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
And do exactly this:
# ./configure --disable-all --disable-cgi && make
# sapi/cli/php -r \
'echo date("M-d-Y H:i:s", mktime(8, 0, 60, 12, 31, 1997));'
------------------------------------------------------------------------
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/32425
--
Edit this bug report at http://bugs.php.net/?id=32425&edit=1