Bug #18556 [Com]: Setting locale to 'tr_TR' lowercases class names
| From: | web-coder at list dot ru | Date: | Sat, 28 Aug 2010 10:14:36 +0000 |
| Subject: | Bug #18556 [Com]: Setting locale to 'tr_TR' lowercases class names | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153862@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=18556&edit=1
ID: 18556
Comment by: web-coder at list dot ru
Reported by: spud at nothingness dot org
Summary: Setting locale to 'tr_TR' lowercases class names
Status: Assigned
Type: Bug
Package: Scripting Engine problem
Operating System: Linux (RedHat 7.2)
PHP Version: 5CVS, 4CVS (2005-10-04)
Assigned To: dmitry
Block user comment: N
New Comment:
Thanks to Alexey dot Rybak at gmail dot com for a patch,
that fix problem if you use only ASCII-symbols in functions/methods
names:
http://dev.badoo.com/custom_strtolower.diff
Previous Comments:
------------------------------------------------------------------------
[2010-08-27 19:17:55] web-coder at list dot ru
Please tell me php version, where this problem is already solved.
Thanks.
------------------------------------------------------------------------
[2010-08-09 07:55:30] stevemw at mac dot com
+1. I get complaints about the side-effects of this on a weekly basis.
Especially awful if you are asked to add turkish support after the fact,
when you
already have a large codebase.
------------------------------------------------------------------------
[2010-06-13 20:07:58] ceremcem at cshus dot org
EDIT: The code that I used to regenerate this bug as follows:
foreach(get_declared_classes() as $class)
{
if(!class_exists($class))
echo "$class No Longer Exists!\n";
}
This code does not produce errors anymore but method names are still
giving this type of error.
I'm using ImageMagick and its PHP extension, imagick, which gives the
error "fatal: thumbnailImage() method not found", seems to be related
with this bug. When I rewrite the method name as ...->thumbnailimage(),
all works OK.
So, the methods documented in
http://www.php.net/manual/en/class.imagick.php
which include "I"
(capital i), it can not be used without replacing "I" with "i". (same
errors occur with MagickWand class)
Could you please fix this too?
------------------------------------------------------------------------
[2010-06-13 19:11:23] ceremcem at cshus dot org
This bug still exists in PHP version 5.3.2.
------------------------------------------------------------------------
[2010-02-02 21:31:15] housecafe at freenet dot de
Dear php-team,
I´ve seen that 5.2.13RC1 is in progress. Could you fix this bug in this
version, please ?
Because I need turkish locale.
Thanks in advance.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=18556
--
Edit this bug report at http://bugs.php.net/bug.php?id=18556&edit=1