Re: E_ALL | E_STRICT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



------=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--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux