Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22173 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34056 invoked by uid 1010); 7 Mar 2006 08:18:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 34040 invoked from network); 7 Mar 2006 08:18:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2006 08:18:10 -0000 X-Host-Fingerprint: 69.60.120.90 iconoclast.caedmon.net Linux 2.4/2.6 Received: from ([69.60.120.90:41590] helo=iconoclast.caedmon.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id F3/4D-22029-2C14D044 for ; Tue, 07 Mar 2006 03:18:10 -0500 Received: from localhost ([127.0.0.1]) by iconoclast.caedmon.net with esmtp (Exim 3.35 #1 (Debian)) id 1FGXN7-0001Yt-00; Tue, 07 Mar 2006 03:16:45 -0500 Message-ID: <440D416B.1080705@caedmon.net> Date: Tue, 07 Mar 2006 03:16:43 -0500 User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Derick Rethans CC: Sara Golemon , Xuefer , internals@lists.php.net References: <440C7D6F.7030809@caedmon.net> <28139bc0603061902t2cccc154ie76e7ca62a7ed781@mail.gmail.com> <002701c641a7$59f52620$7d051fac@stumpy> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] foreach, assigning to a reference, and E_NOTICE From: sean@caedmon.net (Sean Coates) > It *has* to be an E_STRICT because it's something related to language > and possible semantic errors. E_NOTICE is not for that. Isn't it the same as the following? sean@iconoclast:~$ php5 -d"error_reporting=2047" -r '$a=$b;' Notice: Undefined variable: b in Command line code on line 1 According to the manual: E_NOTICE == Run-time notices. Indicate that the script encountered something that could indicate an error, but could also happen in the normal course of running a script. S