Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9716 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97035 invoked by uid 1010); 7 May 2004 22:26:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 96979 invoked from network); 7 May 2004 22:26:10 -0000 Received: from unknown (HELO xaxa.search.ch) (195.141.85.117) by pb1.pair.com with SMTP; 7 May 2004 22:26:10 -0000 Received: from localhost (localhost [127.0.0.1]) by xaxa.search.ch (Postfix) with ESMTP id E58876DB3B; Sat, 8 May 2004 00:26:09 +0200 (CEST) Received: by xaxa.search.ch (Postfix, from userid 65534) id CD1206DB6E; Sat, 8 May 2004 00:26:08 +0200 (CEST) Received: from cschneid.com (ultrafilter-i [192.168.85.2]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by xaxa.search.ch (Postfix) with ESMTP id D39326DB3B; Sat, 8 May 2004 00:26:07 +0200 (CEST) Message-ID: <409C0CFE.20709@cschneid.com> Date: Sat, 08 May 2004 00:26:06 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114 X-Accept-Language: en-us, en, de-ch, de MIME-Version: 1.0 To: Sara Golemon Cc: internals@lists.php.net References: <20040507210516.92262.qmail@pb1.pair.com> In-Reply-To: <20040507210516.92262.qmail@pb1.pair.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on xaxa.search.ch X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Virus-Scanned: by AMaViS 0.3.12pre8 Subject: Re: Implicit Arrays and E_STRICT From: cschneid@cschneid.com (Christian Schneider) Sara Golemon wrote: > plea. I'd like to see Zend throw an E_STRICT when arrays are implicitly > created. I know there were objections to E_NOTICE, but did anyone have > violent objections to E_STRICT? I guess the question is whether we want to deprecate the automatic array creation at some point as E_STRICT is meant for that case. Otherwise we are abusing E_STRICT and might render it unusable to some degree. (From the description in the php.ini file E_NOTICE seems more appropriate as people who auto-init arrays probably also use uninitialized variables and thus don't use E_NOTICE anyway.) My .02, - Chris