Edit report at https://bugs.php.net/bug.php?id=55712&edit=1

 ID:                 55712
 User updated by:    ken at simplecommerce dot com
 Reported by:        ken at simplecommerce dot com
 Summary:            FastCGI causes event 1000 application error when
                     using number_format(0)
 Status:             Open
 Type:               Bug
 Package:            IIS related
 Operating System:   Windows server 2008 R2
 PHP Version:        5.3.8
 Block user comment: N
 Private report:     N

 New Comment:

I have used Debug Diag 1.2 to create a crash hang report on the php-cgi.exe 
process.

Here is the result I have got from the analysis.
If it can help figure out if this is indeed a bug or it's something else.
I am trying to narrow it down to get a possible fix.

http://www.mediafire.com/?ezxjt68v0axozif


Previous Comments:
------------------------------------------------------------------------
[2011-09-18 17:11:48] ken at simplecommerce dot com

Thanks for the link.
It is a good alternative, but if possible I would prefer a solution to my 
current problem without having to go through all my files and re-code using 
this new method.

------------------------------------------------------------------------
[2011-09-18 15:29:43] paj...@php.net

I would go with intl, see http://www.php.net/manual/en/class.numberformatter.php

number_format depends on the system API and can be very buggie.

------------------------------------------------------------------------
[2011-09-18 15:19:34] ken at simplecommerce dot com

I just wanted to add that I opened up a thread on iis.net forum to see if I Can 
get assistance on that end also.

http://forums.iis.net/p/1181683/1996258.aspx

I am desperately trying to find a fix to this issue.

------------------------------------------------------------------------
[2011-09-18 13:38:09] ken at simplecommerce dot com

I also tried the following:

<?php
echo "Number Format:" . number_format(0.00,2) . '<br />';
echo sprintf("%01.2f", 0).'<br />';
?>

The 2nd one works fine when used with my database query.
But number format causes an error. 
Number format works with 0.01 but not 0 or 0.00.

It is really weird.

------------------------------------------------------------------------
[2011-09-18 11:48:53] ken at simplecommerce dot com

We just tried updating the windows server 2008 R2 with all updates to make sure 
that none of the updates missing we're part of the problem.
The error still occurs.

------------------------------------------------------------------------


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

    https://bugs.php.net/bug.php?id=55712


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55712&edit=1

Reply via email to