ID: 45117
Updated by: [EMAIL PROTECTED]
Reported By: rudolphi at chemie dot uni-kl dot de
-Status: Open
+Status: Feedback
Bug Type: Scripting Engine problem
Operating System: Ubuntu 8.04 (32bit)
PHP Version: 5.2.6
New Comment:
Are you able to reproduce this on some other machine? Or some other
*nix / linux distro? Or does it only happen with on one single machine
and OS?
Previous Comments:
------------------------------------------------------------------------
[2008-07-16 13:23:32] rudolphi at chemie dot uni-kl dot de
My GCC-Version is 4.2.3-1ubuntu6, libgcc1 is 4.2.3-2ubuntu7 and my
libc6 is 2.7-10ubuntu3 (the up-to-date-versions of Hardy Heron). Thanks
a lot for your efforts in this topic. I have just recompiled PHP 5.2.6
(and restarted apache) to reproduce the error with the very versions
mentioned above. The error is still there.
------------------------------------------------------------------------
[2008-07-16 10:10:38] [EMAIL PROTECTED]
I tried with non-debug build too and still can't reproduce.
What GCC version do you use..? Glibc?
------------------------------------------------------------------------
[2008-07-16 10:00:39] [EMAIL PROTECTED]
I can't reproduce in 32bit linux either:
$ uname -a
Linux localhost.localdomain 2.6.25.9-76.fc9.i686 #1 SMP Fri Jun 27
16:14:35 EDT 2008 i686 i686 i386 GNU/Linux
[EMAIL PROTECTED] ~]$ src/build/php_5_2/sapi/cli/php -n -r '$float=1e-6;
var_dump($float, strval($float));'
float(1.0E-6)
string(6) "1.0E-6"
------------------------------------------------------------------------
[2008-07-15 22:17:40] rudolphi at chemie dot uni-kl dot de
$ uname -a
Linux rudolphi 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008
i686 GNU/Linux
$ php -n -r '$float=1e-6; var_dump($float, strval($float));'
float(:.0E-7)
string(6) ":.0E-7"
$ php -v
PHP 5.2.6 (cli) (built: May 29 2008 10:18:45)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
------------------------------------------------------------------------
[2008-07-15 21:11:20] [EMAIL PROTECTED]
I can not reproduce this, check this out:
# uname -a
Linux linux5 2.6.20-1.2944.fc6 #1 SMP Tue Apr 10 17:46:00 EDT 2007
x86_64 x86_64 x86_64 GNU/Linux
# php -n -r '$float=1e-6; var_dump($float, strval($float));'
float(1.0E-6)
string(6) "1.0E-6"
# php -v
$ php -v
PHP 5.2.7-dev (cli) (built: Jul 15 2008 04:32:33)
..
Can you post the same here?
------------------------------------------------------------------------
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/45117
--
Edit this bug report at http://bugs.php.net/?id=45117&edit=1