PHP 4.0 Bug #4631 Updated: related to /etc/sysconfig/i18n

From: Date: Mon, 18 Sep 2000 01:09:21 +0000
Subject: PHP 4.0 Bug #4631 Updated: related to /etc/sysconfig/i18n
Groups: php.dev 
Request: Send a blank email to php-dev+get-33407@lists.php.net to get a copy of this message
ID: 4631 Updated by: stas Reported By: thierry@museux.com Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: Seems to be fixed now. If not, please reopen. Previous Comments: --------------------------------------------------------------------------- [2000-07-26 07:26:24] joey@php.net AFAIK, this is still a problem. I know Andi was working on a solution, I will ask him a/b it. --------------------------------------------------------------------------- [2000-07-26 05:28:14] zak@php.net Hi Joey, Has anything happened with this bug? --------------------------------------------------------------------------- [2000-05-27 03:16:05] joey@cvs.php.net This is a known issue. The C library strtod() is the culprit. There will be a fix for this (in 4.0.1?) soon. Will close bug then. Thanks for the report. --------------------------------------------------------------------------- [2000-05-26 23:44:42] thierry@museux.com i install linux rh 6.2 with french env var and from source apache 1.3.12 and php 4.0.0 /etc/scripts/i18n contains: LANG=fr LINGUAS=fr_FR:fr LANGUAGE=fr LC_ALL=fr i use this very simple script: <? $var=1.123; print("var=$var"); ?> It is displayed: var=1 if i used $var=1,123; instead of $var=1.123; i have this parse error: Parse error: parse error in /home/usr/local/apache/htdocs/double.php3 on line 2 If /etc/sysconfig/i18n contains: LANG=en LINGUAS=en_EN:en LANGUAGE=en LC_ALL=en_EN It is displayed: var=1.123 of course... with fr all the calculation are false --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=4631

« previous php.dev (#33407) next »