Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50368 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69848 invoked from network); 18 Nov 2010 20:04:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2010 20:04:12 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:56481] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/62-01108-BB685EC4 for ; Thu, 18 Nov 2010 15:04:12 -0500 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id 729D6DE13F; Thu, 18 Nov 2010 20:04:08 +0000 (GMT) Date: Thu, 18 Nov 2010 20:04:08 +0000 (GMT) X-X-Sender: derick@kossu.derickrethans.nl To: Christopher Jones cc: internals@lists.php.net In-Reply-To: <4CE56978.9050102@oracle.com> Message-ID: References: <4CE537B0.1030607@zend.com> <4CE56978.9050102@oracle.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] --enable-zend-multibyte From: derick@php.net (Derick Rethans) 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