Derick Rethans wrote:
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.
Actually, it doesn't have compile-time dependencies, so it's probably
make sense to remove --enable-zend-multibyte completely.
Thanks. Dmitry.
Derick
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php