From: [EMAIL PROTECTED] Operating system: AIX 4.3.3 PHP version: 4CVS-2002-10-09 PHP Bug Type: Strings related Bug description: setlocale LC_ALL separator
On AIX setlocale(LC_ALL, locale) returns a space separated list of the locales in effect, instead of a '/'. A little test program explains: $ ./o setlocale LC_ALL, "C" returns <C C C C C C> setlocale LC_CTYPE, "en_US" returns <en_US> setlocale LC_ALL, NULL returns <C en_US C C C C> I've taken a look at ext/standard/string.c but can't figure out how/where the string is turned into just one character. This affects (among other things) ext/ctype/tests/002.phpt -- Edit bug report at http://bugs.php.net/?id=19836&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19836&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19836&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19836&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19836&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19836&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19836&r=support Expected behavior: http://bugs.php.net/fix.php?id=19836&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19836&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19836&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19836&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19836&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=19836&r=dst IIS Stability: http://bugs.php.net/fix.php?id=19836&r=isapi