Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5656 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91003 invoked by uid 1010); 21 Nov 2003 23:11:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 90969 invoked by uid 1007); 21 Nov 2003 23:11:58 -0000 Message-ID: <20031121231158.90968.qmail@pb1.pair.com> To: internals@lists.php.net References: <5.1.0.14.2.20031118235848.0347c9f0@127.0.0.1> Date: Fri, 21 Nov 2003 15:10:16 -0800 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Posted-By: 64.142.6.231 Subject: Re: E_STRICT From: pollita@php.net ("Sara Golemon") > 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). > Ideas are things like: > a) Not using var for member variables but moving to PPP. > b) Not using is_a but using instanceof. > > If you have any further ideas of stuff which makes sense to add to this > option let me know. For obvious reasons this will be off by default. > Here's another: $foo = "I am a string"; $firstchar = $foo[0]; /* As opposed to $foo{0} */ -Sara