#39361 [Com]: mbstring function overloading - done although not activated
| From: | seanius at debian dot org | Date: | Sat, 09 Dec 2006 11:20:41 +0000 |
| Subject: | #39361 [Com]: mbstring function overloading - done although not activated | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106134@lists.php.net to get a copy of this message | ||
ID: 39361
Comment by: seanius at debian dot org
Reported By: christoph at ziegenberg dot de
Status: Assigned
Bug Type: mbstring related
Operating System: Win XP SP 2
PHP Version: 5.2.0
Assigned To: iliaa
New Comment:
hi,
we've had a report about this in the debian bug tracking system:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399924
and possibly
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=401525
the bug report says that it's been fixed in CVS, but then there's a
rather ambiguous "still need to look into this" message afterwards and
the bug is still in state: assigned.
as debian will be freezing really, really soon if there's a fix for
this i'd really like to see it so i can backport it to the 5.2.0
packages that are going to ship with the next stable release.
thanks!
Previous Comments:
------------------------------------------------------------------------
[2006-11-03 20:38:44] iliaa@php.net
Still need to look into this one.
------------------------------------------------------------------------
[2006-11-03 19:56:26] iliaa@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2006-11-03 18:06:52] christoph at ziegenberg dot de
again the summary problem...
------------------------------------------------------------------------
[2006-11-03 18:06:06] christoph at ziegenberg dot de
The value returned by ini_get() is correct (also the phpinfo() output),
but the behavior is wrong... I tested several other ini settings, but
the error seems to occur only with the mbstring function overloading.
------------------------------------------------------------------------
[2006-11-03 17:28:47] christoph at ziegenberg dot de
Oh... I got the reason for it... really bad bug, might be critical and
influence other ini setting to:
1) run the script - it works. you get the error message for mb_strstr()
only:
Warning: mb_strstr() [function.mb-strstr]: Empty haystack in
W:\www\strstr\strstr.php on line 4
2) run a script in another directory with mbstring function overloading
activate* - the result is as expected:
Warning: mb_strstr() [function.mb-strstr]: Empty haystack in
W:\www\strstr\strstr.php on line 3
Warning: mb_strstr() [function.mb-strstr]: Empty haystack in
W:\www\strstr\strstr.php on line 4
3) now run the first script (NOT in the created directory!) and you get
the same error messages!
Warning: mb_strstr() [function.mb-strstr]: Empty haystack in
W:\www\strstr\strstr.php on line 3
Warning: mb_strstr() [function.mb-strstr]: Empty haystack in
W:\www\strstr\strstr.php on line 4
So the overloading setting is activated for the wrong directory!
* via .htaccess:
php_value mbstring.func_overload 6
------------------------------------------------------------------------
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/39361
--
Edit this bug report at http://bugs.php.net/?id=39361&edit=1