Re: --enable-zend-multibyte
| From: | Pierre Joye | Date: | Thu, 18 Nov 2010 15:35:04 +0000 |
| Subject: | Re: --enable-zend-multibyte | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50355@lists.php.net to get a copy of this message | ||
hi,
On Thu, Nov 18, 2010 at 4:29 PM, Patrick ALLAERT
<patrick.allaert@gmail.com> wrote:
> 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.
And a warning OnUpdate?
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org