Re: --enable-zend-multibyte
| From: | Derick Rethans | Date: | Thu, 18 Nov 2010 20:04:08 +0000 |
| Subject: | Re: --enable-zend-multibyte | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50368@lists.php.net to get a copy of this message | ||
On Thu, 18 Nov 2010, Christopher Jones wrote:
> On 11/18/2010 06:26 AM, Dmitry Stogov wrote:
> >
> > 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?
>
> If the overhead of zend.multibyte=0 is negligable, then why not remove
> remove the configure option altogether? This would reduce the
> complexity of the implementation and simplify building & maintenance.
> Why have two interdependent ways to get the same outcome if one way
> will do?
Because it has a dependency on mbstring.
Derick