Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50386 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20307 invoked from network); 19 Nov 2010 14:16:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Nov 2010 14:16:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.185 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 212.25.124.185 il-mr1.zend.com Received: from [212.25.124.185] ([212.25.124.185:50491] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/34-25589-1C686EC4 for ; Fri, 19 Nov 2010 09:16:35 -0500 Received: from il-gw1.zend.com (unknown [10.1.1.22]) by il-mr1.zend.com (Postfix) with ESMTP id 3E0B4504F6; Fri, 19 Nov 2010 16:10:52 +0200 (IST) Received: from ws.home (10.1.10.11) by il-ex2.zend.net (10.1.1.22) with Microsoft SMTP Server id 14.0.689.0; Fri, 19 Nov 2010 16:16:24 +0200 Message-ID: <4CE686BC.4080307@zend.com> Date: Fri, 19 Nov 2010 17:16:28 +0300 User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: Derick Rethans CC: Christopher Jones , References: <4CE537B0.1030607@zend.com> <4CE56978.9050102@oracle.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] --enable-zend-multibyte From: dmitry@zend.com (Dmitry Stogov) 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 >