From:             [EMAIL PROTECTED]
Operating system: linux kernel 2.4.18
PHP version:      4.3.0
PHP Bug Type:     Variables related
Bug description:  variable names changing in turkish locale

I thought this bug was submitted for an earlier version of php (maybe 4.1.2
or so), but it seems to be not corrected.

The main problem is, the lowercase of "I" in Turkish is not "i". it is an
"i" without a dot on top of it: "ý".

Something in php affects all variables including the letter "I". So
$_SESSION, SID, or PHPSESSID doesn't work.

I think some code in php first changes all variables names to lowercase
(and for turkish locale, incorrectly lowercases I to i), and then changes
all variable names to uppercase (and correctly uppercases i to Ý).

So, $_SESSION becomes $_SESSÝON, and since php couldn't find a variable
named $_SESSION, it regenerates a new PHPSESSID.

The correct uppercase - lowercase of this letter is:

I - ý
Ý - i

A workaround for this is making sure apache server starts in en_US locale.
-- 
Edit bug report at http://bugs.php.net/?id=21771&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21771&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21771&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21771&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21771&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21771&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21771&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21771&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21771&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21771&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21771&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21771&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21771&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21771&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21771&r=gnused

Reply via email to