Matthew1980 - 6:22 pm on Dec 28, 2011 (gmt 0)
As AlexK points out, modular approach to this is best; I will add another thing to this:-
When building a site/page, add the following:
error_reporting( E_ALL );
>>...and fix *every* error, warning or notice.
To do that you would need to have this:-
(Checking for notices)
error_reporting(E_ALL ^ E_NOTICE);
(for old functions)
error_reporting(E_ALL ^ E_DEPRECATED);
(for strict standards)
error_reporting(E_ALL ^ E_STRICT);
Hope that makes sense.