Re: --enable-zend-multibyte
| From: | Patrick ALLAERT | Date: | Thu, 18 Nov 2010 15:29:09 +0000 |
| Subject: | Re: --enable-zend-multibyte | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50354@lists.php.net to get a copy of this message | ||
2010/11/18 Dmitry Stogov <dmitry@zend.com>:
> Hi,
>
> The proposed patch allows compiling PHP with --enable-zend-multibyte and
> then enable or disable multibyte support at run-time using
> zend.multibyte=0/1 in php.ini. As result the single binary will be able to
> support multibyte encodings and run without zend-multibyte overhead
> dependent on configuration.
>
> The patch doesn't affect PHP compiled without --enable-zend-multibyte.
>
> I'm going to commit it into trunk before alpha.
> Any objections?
I see potential confusions doing so, users might complain seeing
Zend Multibyte Support: disabled
while having set zend.multibyte to 1
Maybe changing:
php_info_print_table_row(2, "Zend Multibyte Support", "disabled");
to:
php_info_print_table_row(2, "Zend Multibyte Support", "disabled (at
compile time)");
would help.
Patrick