Re: cvs: php-src(PHP_5_3) /ext/mbstring mbstring.c
| From: | Moriyoshi Koizumi | Date: | Fri, 12 Sep 2008 19:09:31 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) /ext/mbstring mbstring.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-53096@lists.php.net to get a copy of this message | ||
Hi Antony,
Antony Dovgal wrote:
> The docs say mbstring.internal_encoding is PHP_INI_ALL, but this change
> makes it in fact PHP_INI_SYSTEM.
> Also why allow using mb_internal_encoding() and disallow changing the
> ini setting?
I missed your mail. Sorry for the late reply.
As for your question. It's not really an INI_SYSTEM setting. To take
account of the other settings that are affected by the value of
mbstring.internal_encoding, it turned out the corresponding global entry
got to be handled in RINIT. the original INI values are kept by the
zend_ini facility separately, so doing so is anyway safe.
Regards,
Moriyoshi
--
Moriyoshi Koizumi <moriyoshi@at.wakwak.com>