gettext change the behaviour of double scalar

From: Date: Tue, 05 Nov 2002 22:28:34 +0000
Subject: gettext change the behaviour of double scalar
Groups: php.dev 
Request: Send a blank email to php-dev+get-90531@lists.php.net to get a copy of this message
Hi, This is verified with 4.1.2 and 4.2.3 but not with 4.3.Opre2 [config] Apache 1.3.27 RedHat 7.2 gettext-0.11.15 [myFile.php] $lang='fr_FR'; putenv("LANG=$lang"); setlocale(LC_ALL,$lang); bindtextdomain($domain,"/MyDir/i18n"); textdomain($domain); $a=10.12345; echo $a; // print 10.12345 require('myOtherFile.php'); [myOtherFile.php] $b=10.12345; echo $b; // print 10 So, printing a double in a required file after gettext configuration change the behaviour of a double scalar. Can somebody explain this? Is it a bug? Thanks! Jean-Pierre ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com

« previous php.dev (#90531) next »