Re: E_ALL | E_STRICT

From: Date: Fri, 25 Aug 2006 15:08:24 +0000
Subject: Re: E_ALL | E_STRICT
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-241117@lists.php.net to get a copy of this message
------=neXtPaRt_1156518520 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Fri, 2006-08-25 at 10:43 -0400, tedd wrote: > or should I lose the E_STRICT, or should it be something else? > E_ALL in php4 will pick up everything, notices, warnings, the lot. > I want to turn as much error checking as I can. I'm not using php 5, just yet. > E_STRICT in php5 will do the same, but as soon as you start using, say, a PEAR object, you will get notices about using deprecated "var" keywords, so E_ALL normally suffices there too. In both our php4 and 5 projects we use E_ALL for that reason. --Paul ------=neXtPaRt_1156518520 Content-Type: text/plain; All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm ------=neXtPaRt_1156518520--

« previous php.general (#241117) next »