Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54510 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17510 invoked from network); 11 Aug 2011 20:11:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2011 20:11:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=sebastian.krebs.berlin@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=sebastian.krebs.berlin@googlemail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.214.42 as permitted sender) X-PHP-List-Original-Sender: sebastian.krebs.berlin@googlemail.com X-Host-Fingerprint: 209.85.214.42 mail-bw0-f42.google.com Received: from [209.85.214.42] ([209.85.214.42:50188] helo=mail-bw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 06/20-14792-E77344E4 for ; Thu, 11 Aug 2011 16:11:43 -0400 Received: by bkd19 with SMTP id 19so1276837bkd.29 for ; Thu, 11 Aug 2011 13:11:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=WsaJitHBNZhZSKfCn3s29uO8ygENNcdMlQrp6orpw68=; b=jFZW1YEef4oyFb+WJWTd1oRlMIfF2FE4ydOEMbKkaKdeHZKzA6VYxcITCse4AUwqMI AQlfLP6oJfbiQrG2/SN+RyNC4YtCN1/+o3K3x6cRHMs3vvc1MKlrAchHDgHGwvlK4SEe nmp+rZaN8s2LfdDPDb5t5gViHHCdpM1QEODK8= Received: by 10.204.133.22 with SMTP id d22mr16924bkt.151.1313093498117; Thu, 11 Aug 2011 13:11:38 -0700 (PDT) Received: from [192.168.24.2] (91-64-205-130-dynip.superkabel.de [91.64.205.130]) by mx.google.com with ESMTPS id zw12sm324865bkb.27.2011.08.11.13.11.37 (version=SSLv3 cipher=OTHER); Thu, 11 Aug 2011 13:11:37 -0700 (PDT) Message-ID: <4E443778.2050603@googlemail.com> Date: Thu, 11 Aug 2011 22:11:36 +0200 Reply-To: sebastian.krebs.berlin@googlemail.com User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 MIME-Version: 1.0 To: PHP internals list Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Multibyte and declate (PHP5.4) From: sebastian.krebs.berlin@googlemail.com (Sebastian Krebs) Hi, With PHP5.4 I get this warning | Warning: declare(encoding=...) ignored because Zend multibyte feature | is turned off by settings in [..] because of | declare(encoding = 'UTF-8'); An except from the manual [1] > The encoding declare value is ignored in PHP 5.3 unless php is compiled with --enable-zend-multibyte. Does this really means, that this declare statement is _ignored_, when PHP is _not_ compiled with "--enable-zend-multibyte", but it yields a warning (and not even just a notice), when it is (what is default now)? That feels a little bit inconsistent to me. And btw: Its probably asked before, but is there a reason, why multibyte-support is disabled by default? Regards, Sebastian [1] http://php.net/manual/en/control-structures.declare.php