PHP 4.0 Bug #6808 Updated: misbehavior of sprintf and printf
| From: | Bug Database | Date: | Wed, 20 Sep 2000 19:50:40 +0000 |
| Subject: | PHP 4.0 Bug #6808 Updated: misbehavior of sprintf and printf | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33524@lists.php.net to get a copy of this message | ||
ID: 6808
User Update by: piotrbe@zigzag.pl
Status: Feedback
Bug Type: Unknown/Other Function
Description: misbehavior of sprintf and printf
I removed zendoptimizer (rc1) from my ini file, and now seams to be good. I try to reproduce this
bug on another server and publish url.
Previous Comments:
---------------------------------------------------------------------------
[2000-09-20 01:49:18] stas@php.net
Failed to reproduce here. Did you change anything between runs, in your scripts, or in your Windows?
---------------------------------------------------------------------------
[2000-09-18 22:58:03] piotrbe@zigzag.pl
IIS 4.0 + php4isapi.dll + zendopt
$float = "21.37";
printf ("%0.02f<br>",$float);
echo "$float<BR><br>";
------OUTPUT------
21.37<br>
21.37<br><br>
4 hours later (really)
------OUTPUT------
21.00<br>
21.37<br><br>
strange isn't it?
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6808