Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56018 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24481 invoked from network); 3 Nov 2011 07:09:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Nov 2011 07:09:56 -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.199.177.89 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 212.199.177.89 il-mr1.zend.com Received: from [212.199.177.89] ([212.199.177.89:40542] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0A/21-14104-24E32BE4 for ; Thu, 03 Nov 2011 02:09:55 -0500 Received: from il-gw1.zend.com (unknown [10.1.1.22]) by il-mr1.zend.com (Postfix) with ESMTP id 6BA9E60779; Thu, 3 Nov 2011 09:08:29 +0200 (IST) Received: from ws.home (10.1.10.16) by il-ex2.zend.net (10.1.1.22) with Microsoft SMTP Server id 14.1.255.0; Thu, 3 Nov 2011 09:09:06 +0200 Message-ID: <4EB23E3D.3010908@zend.com> Date: Thu, 3 Nov 2011 11:09:49 +0400 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.15 MIME-Version: 1.0 To: Yasuo Ohgaki CC: References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.1.10.16] Subject: Re: [PHP-DEV] Zend Multibyte support From: dmitry@zend.com (Dmitry Stogov) Hi Yasuo, how did you see that "Zend Multibyte Support" weren't enabled? $ sapi/cli/php -d zend.multibyte=1 -i | grep -i multibyte Zend Multibyte Support => provided by mbstring zend.multibyte => On => On ****** Multibyte Support => enabled Multibyte string engine => libmbfl Multibyte (japanese) regex support => enabled Multibyte regex (oniguruma) backtrack check => On Multibyte regex (oniguruma) version => 4.7.1 Thanks. Dmitry. On 11/03/2011 04:32 AM, Yasuo Ohgaki wrote: > Hi all, > > I noticed that "Zend Multibyte Support" won't be on with > > ./sapi/cli/php -d zend.multibyte=1 > nor > zend.multibyte=on (in php.ini) > > This happens both php-src and php-src-5.4. > > According to php.ini-production from php-src: > ; If enabled, scripts may be written in encodings that are incompatible with > ; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such > ; encodings. To use this feature, mbstring extension must be enabled. > ; Default: Off > ;zend.multibyte = Off > > I thought it became runtime option. > Is this a bug or am I missing something? > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net >