You can catch typos by setting the error reporting level to E_ALL (in
php.ini). PHP will then give you a warning whenever a variable is used
before it has been assigned a value.

Kirk

> That's too bad, 
> I used to do some ASP which is weakly typed too but I still 
> could use "Option Explicit" to require variables to be declared. 
> Then a small typo would produce very hard-to-find errors.

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

Reply via email to