Hi all...
In Visual Basic there is an instruction OPTION EXPLICIT that halts execution if you didn't declare a variable you are trying to use.
Is there anything like that in PHP?
Yes, crank the error reporting level up (either in php.ini or with [man]err_reporting[/man]) high enough to include Notices and it will complain about use of undefined variables.