Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5541 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52838 invoked by uid 1010); 19 Nov 2003 06:12:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 52792 invoked from network); 19 Nov 2003 06:12:13 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 19 Nov 2003 06:12:13 -0000 Received: (qmail 17626 invoked from network); 19 Nov 2003 06:12:06 -0000 Received: from guardian.zend.office (HELO andi-laptop.zend.com) (10.1.1.4) by int.zend.com with SMTP; 19 Nov 2003 06:12:06 -0000 Message-ID: <5.1.0.14.2.20031119081009.01cbc698@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 19 Nov 2003 08:12:02 +0200 To: "Sara Golemon" ,internals@lists.php.net In-Reply-To: <20031119052013.82989.qmail@pb1.pair.com> References: <5.1.0.14.2.20031118235848.0347c9f0@127.0.0.1> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Re: E_STRICT From: andi@zend.com (Andi Gutmans) Just a warning. I commited your patch. Not sure about the naming but it's the status quo for now :) Andi At 09:20 PM 11/18/2003 -0800, Sara Golemon wrote: > > I added an E_STRICT error level today which purists can use to make sure > > that there scripts are using the latest and greatest suggested method of > > coding (according to what we decide). > > >Should E_STRICT halt execution (as with E_ERROR) or simply state a warning >(as with E_NOTICE / E_WARNING)? > >Either way main/main.c : php_error_cb() needs something like the following >(Looking for thoughts on exact verbage) > >Index: main/main.c >=================================================================== >RCS file: /repository/php-src/main/main.c,v >retrieving revision 1.579 >diff -u -r1.579 main.c >--- main/main.c 9 Oct 2003 02:58:34 -0000 1.579 >+++ main/main.c 19 Nov 2003 05:18:15 -0000 >@@ -723,6 +723,9 @@ > case E_USER_NOTICE: > error_type_str = "Notice"; > break; >+ case E_STRICT: >+ error_type_str = "Strict Standards"; >+ break; > default: > error_type_str = "Unknown error"; > break; > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php