ID: 40441
Updated by: [EMAIL PROTECTED]
Reported By: dmitry at rsl dot ru
-Status: Open
+Status: Bogus
Bug Type: mbstring related
Operating System: linux
PHP Version: 5.2.1
New Comment:
This Apache2-related problem is described in details in bug #38670.
>since we not using safe mode at all
safe_mode is just an INI setting, as well as mbstring.func_overload.
Previous Comments:
[2007-02-12 09:46:34] dmitry at rsl dot ru
I'm not sure that this is duplicate of bug #38670, since we not using
safe mode at all. I think that this bug is a kind of
http://bugs.php.net/bug.php?id=39361.
The problem is that mbstring.function_overload is set to 0 for apache's
virtualhost (while mbstring.function_overload = 2 in php.ini), but
strstr (and probably others) still overloaded, not always but randomly.
No matter if strstr got overloaded or not,
ini_get('mbstring.function_overload') is equal to 0 for this
virtualhost.
[2007-02-12 09:21:28] [EMAIL PROTECTED]
Duplicate of bug #38670.
[2007-02-12 09:13:27] dmitry at rsl dot ru
how I can provide more information than phpinfo() at
http://www.projectharmony.ru/temp-images/qq.php?
[2007-02-12 08:56:38] [EMAIL PROTECTED]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
[2007-02-12 08:48:45] dmitry at rsl dot ru
Description:
Just like http://bugs.php.net/bug.php?id=39361 with exception that
mbstring.func_overload is set to 2 globaly, but disabled for
virtualhost. This leads mbstring function overloading to be enabled
randomly.
Try to visit and then refresh
http://www.projectharmony.ru/temp-images/q.php several times.
http://www.projectharmony.ru/temp-images/qq.php is the same script plus
phpinfo();
Reproduce code:
---
Expected result:
nothing expected
Actual result:
--
randomly:
Warning: mb_strstr() [function.mb-strstr]: Empty delimiter. in q.php
on line 1
-- or --
nothing (as expected)
-- or --
Warning: strstr() [function.strstr]: Empty delimiter. in
/home/html/www.projectharmony.ru/temp-images/q.php on line 1 (rare)
--
Edit this bug report at http://bugs.php.net/?id=40441&edit=1