Re: Zend Multibyte support
| From: | Dmitry Stogov | Date: | Thu, 03 Nov 2011 07:09:49 +0000 |
| Subject: | Re: Zend Multibyte support | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56018@lists.php.net to get a copy of this message | ||
Hi Yasuo,
how did you see that "Zend Multibyte Support" weren't enabled?
$ sapi/cli/php -d zend.multibyte=1 -i | grep -i multibyte
Zend Multibyte Support => provided by mbstring
zend.multibyte => On => On ******
Multibyte Support => enabled
Multibyte string engine => libmbfl
Multibyte (japanese) regex support => enabled
Multibyte regex (oniguruma) backtrack check => On
Multibyte regex (oniguruma) version => 4.7.1
Thanks. Dmitry.
On 11/03/2011 04:32 AM, Yasuo Ohgaki wrote:
Hi all, I noticed that "Zend Multibyte Support" won't be on with ./sapi/cli/php -d zend.multibyte=1 nor zend.multibyte=on (in php.ini) This happens both php-src and php-src-5.4. According to php.ini-production from php-src: ; If enabled, scripts may be written in encodings that are incompatible with ; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such ; encodings. To use this feature, mbstring extension must be enabled. ; Default: Off ;zend.multibyte = Off I thought it became runtime option. Is this a bug or am I missing something? -- Yasuo Ohgaki yohgaki@ohgaki.net