Bug #16865: constants get undefined if setting locale to tr_TR
| From: | jan at horde dot org | Date: | Fri, 26 Apr 2002 23:18:54 +0000 |
| Subject: | Bug #16865: constants get undefined if setting locale to tr_TR | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-6179@lists.php.net to get a copy of this message | ||
From: jan@horde.org
Operating system: Linux
PHP version: 4.0CVS-2002-04-26
PHP Bug Type: Unknown/Other Function
Bug description: constants get undefined if setting locale to tr_TR
This one is a very strange one. It seems like some constants are getting
undefined if you set the locale to tr_TR. It happens randomly with
internally defined and user defined constants and is reproducable with
this little script:
<?php
setlocale(LC_ALL, 'tr_TR');
echo extension_loaded('imap');
echo SORTARRIVAL;
?>
--
Edit bug report at http://bugs.php.net/?id=16865&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16865&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16865&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16865&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16865&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16865&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16865&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16865&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16865&r=submittedtwice