Re: PHP 4.0 Bug #4889 Updated: for cicle goes unlimited
| From: | Hartmut Holzgraefe | Date: | Thu, 08 Jun 2000 10:13:41 +0000 |
| Subject: | Re: PHP 4.0 Bug #4889 Updated: for cicle goes unlimited | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20552@lists.php.net to get a copy of this message | ||
Bug Database wrote:
>
> ID: 4889
> User Update by: ce@beer.com
> Old-Status: Closed
> Status: Feedback
> Bug Type: Scripting Engine problem
> Description: for cicle goes unlimited
>
> on Linux it gives something like
> 0.010.020.030.040.050.060.070.080.090.10...... and so on
>
> on Windows it gives 000000000000000000000000 and never finishes
>
> Full Bug description available at:
> http://bugs.php.net/version4/?id=4889
have you tried it whith ',' instead of '.' as in my example?
i bet it's a non-english windows with a locale setting that uses komma
for decimals instead of dot (e.g. german), so that it parses 0.01 as 0
--
Hartmut Holzgraefe hartmut@six.de http://www.six.de