PHP 4.0 Bug #6808 Updated: misbehavior of sprintf and printf
| From: | sniper@php.net | Date: | Mon, 16 Oct 2000 15:15:29 +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-35144@lists.php.net to get a copy of this message | ||
ID: 6808
Updated by: sniper
Reported By: piotrbe@zigzag.pl
Status: Closed
Bug Type: Unknown/Other Function
Assigned To:
Comments:
Reopen this bug report if you really can reproduce this..
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-09-20 17:30:05] piotrbe@zigzag.pl
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.
---------------------------------------------------------------------------
[2000-09-20 15:50:40] piotrbe@zigzag.pl
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.
---------------------------------------------------------------------------
[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