Page 1 of 1

errors and standard in php code

Posted: Wed Jul 12, 2006 9:05 am
by kannibal
i turned on display_errors

and put error_reporting  =  E_ALL | E_STRICT

i got realy realy many notice and Strict Standards notices, using php5

please follow the standard!

//stefan

Re: errors and standard in php code

Posted: Wed Jul 12, 2006 10:35 am
by Ted
I agree that we shouldn't get any E_NOTICE errors...  all devs should have E_ALL on.  However, E_STRICT is almost impossible since we're trying to target php4 and php5 and use OO.