Bug #10002 Updated: sprintf() and floating point
| From: | hholzgra@php.net | Date: | Mon, 17 Jun 2002 11:00:13 +0000 |
| Subject: | Bug #10002 Updated: sprintf() and floating point | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10837@lists.php.net to get a copy of this message | ||
ID: 10002
Updated by: hholzgra@php.net
Reported By: bmr@comtime.com
-Status: Open
+Status: Analyzed
Bug Type: Strings related
Operating System: Debian
PHP Version: 4.1.1
Assigned To: hholzgra
Previous Comments:
------------------------------------------------------------------------
[2002-06-17 06:59:59] hholzgra@php.net
locale-dependant, does not work for locales where decimal_point is !=
'.' right now
------------------------------------------------------------------------
[2002-01-22 07:46:50] martin@humany.com
I cant reproduce this bug under PHP 4.1.1 neither in Windows XP or
Linux 2.4.
I tried the original example aswell as the additional examples from
http://213.134.22.60/~gerzson/sprintf.php
(abstract from phpinfo()):
System Linux www3 2.4.17 #4 SMP Sat Dec 22 19:40:48 CET 2001 i686
unknown
Build Date Jan 13 2002
Configure Command './configure' '--with-apache=../apache_1.3.22'
'--with-mysql=/usr/local' '--with-gd=/usr/local'
'--with-jpeg-dir=/usr'
'--enable-ftp' '--enable-bcmath' '--with-ming'
'--with-mcrypt'
'--with-mhash' '--with-xml' '--with-imap' '--with-pdflib'
'--with-curl'
'--with-png-dir=/usr' '--with-zlib'
'--with-freetype-dir=/usr/local/include/freetype2'
'--enable-gd-native-ttf' '--disable-posix-threads'
'--enable-memory-limit=yes' '--enable-track-vars' '--enable-trans-sid'
'--enable-debug=no' '--enable-inline-optimization'
------------------------------------------------------------------------
[2002-01-15 12:33:46] pgerzson@freestart.hu
I played with ini settings (to be frank remove the
php.ini), and now examples work fine.
------------------------------------------------------------------------
[2002-01-09 16:43:39] gerzson@php.net
I'd like to reopen it. Visit the page:
http://213.134.22.60/~gerzson/sprintf.php
------------------------------------------------------------------------
[2002-01-09 16:36:36] pgerzson@freestart.hu
I'm sorry to say that I experienced similar misbehaviour
with PHP 4.0.6 and 4.1.1, too.
I'm pulling aggregated statistics from database and display
it. I'm currently working on minimize a test case, please wait. Till
then, visit this link:
http://213.134.22.60/~gerzson/sprintf.php
this is a very simple test script with a show_source() and
phpinfo(). I think this bug should be reopened.
------------------------------------------------------------------------
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/10002
--
Edit this bug report at http://bugs.php.net/?id=10002&edit=1