Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50365 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52375 invoked from network); 18 Nov 2010 17:59:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2010 17:59:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain oracle.com from 148.87.113.121 cause and error) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 148.87.113.121 rcsinet10.oracle.com Linux 2.6 Received: from [148.87.113.121] ([148.87.113.121:22636] helo=rcsinet10.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 37/10-01108-08965EC4 for ; Thu, 18 Nov 2010 12:59:29 -0500 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAIHxOGu009783 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 18 Nov 2010 17:59:26 GMT Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAIC7ntL029274 for ; Thu, 18 Nov 2010 17:59:23 GMT Received: from abhmt016.oracle.com by acsmt353.oracle.com with ESMTP id 791721701290103161; Thu, 18 Nov 2010 09:59:21 -0800 Received: from [130.35.68.31] (/130.35.68.31) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 18 Nov 2010 09:59:21 -0800 Message-ID: <4CE56978.9050102@oracle.com> Date: Thu, 18 Nov 2010 09:59:20 -0800 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: internals@lists.php.net References: <4CE537B0.1030607@zend.com> In-Reply-To: <4CE537B0.1030607@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] --enable-zend-multibyte From: christopher.jones@oracle.com (Christopher Jones) On 11/18/2010 06:26 AM, Dmitry Stogov wrote: > 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? > > Thanks. Dmitry. > 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? -- Email: christopher.jones@oracle.com Tel: +1 650 506 8630 Blog: http://blogs.oracle.com/opal/