ID:               47304
 Comment by:       codeslinger at compsalot dot com
 Reported By:      lennartvdd at mailordersolutions dot nl
 Status:           Feedback
 Bug Type:         Scripting Engine problem
 Operating System: Server 2003 for SBS SP2 - IIS
 PHP Version:      5.2.8
 Assigned To:      pajoye
 New Comment:

Hi pajoye,
thank you for the response to bug #47716
you requested that future replies be here.

The interesting thing is that when you did a setlocale you got a result
back...   but when I did it all I get is an empty string, I wondered
about this at the time that I entered the bug but did not mention it
because I figured the 18:0 vs 19.00 was sufficient.

and yes, as it states in that bug, the problem only occurs when a large
complex program using lots of memory is running and then within that
context you run the repro.  if you just do the repro script by itself
with nothing else going on then it works just fine.


$arrMsgs[] = "Locale = ".setlocale(LC_ALL, "english-usa");

[0] => Locale = 


I will give 5.3 a try and see what happens.

Environment: For the testing, I am actually running windows 2000 in a
vmware box under Ubuntu on a Pentium M.


Previous Comments:
------------------------------------------------------------------------

[2009-03-20 16:13:06] paj...@php.net

For the record, other test cases in #47732 and #47716.

It would be interesting to see if 5.3.0 (you can fetch snapshot from
http://windows.php.net) suffers from the same problem on the same host.

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

[2009-03-20 16:08:48] paj...@php.net

What is the exact version of 2003, which processor do you use?

However it works for me with the US locale on XP SP2 (32bit), 2003
(x86), 2008 (x86 and x64), vista (x86 and x64).

C:\Users\pierre\Documents\test\php529-1>php 47304.php
PHP version: 5.2.9-1
float(-39)
float(39)
float(17)
float(-17)
float(-39)
float(39)
float(17)
float(-17)


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

[2009-03-20 15:58:36] paj...@php.net

What is the last version working correctly?

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

[2009-02-13 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2009-02-05 14:24:34] lennartvdd at mailordersolutions dot nl

Yeah weird huh?! I changed back to PHP version: 5.2.0. Float conversion
works fine again now!

I'll try it on some different machines, but I won't have time to do
that until next week, so you'll hear more from me then.

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

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/47304

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

Reply via email to