tedd wrote:
At 1:46 PM +0100 7/17/07, Stut wrote:
... but you can get
some of the way there by enabling the display of notices which will tell
you whenever a variable is used without being initialised.

How?

Look in php.ini for error_reporting. With it enabled if you try to use a variable without assigning a value to it it will generate a notice. There are a lot of situations this won't cover, but it covers more than having it disabled.

-Stut

--
http://stut.net/

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

Reply via email to