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

From: Date: Fri, 26 May 2000 21:44:42 +0000
Subject: PHP 4.0 Bug #4631: related to /etc/sysconfig/i18n
Groups: php.dev 
Request: Send a blank email to php-dev+get-19564@lists.php.net to get a copy of this message
From: thierry@museux.com Operating system: linux RH 6.2 PHP version: 4.0 Latest CVS (26/05/2000) PHP Bug Type: Scripting Engine problem Bug description: related to /etc/sysconfig/i18n 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

« previous php.dev (#19564) next »