Re: [PHP] Is there any way that PHP will issue a warning when using undeclared vars?

2005-01-02 Thread Dan Eloff
I knew I missed something when I configured php 5 on my pc. I forgot to set the errors to be printed instead of logged. And you're right, I should have used bitwise or to combine the flags. Thanks, you guys saved me a lot of aggravation. -Dan -- PHP General Mailing List (http://www.php.net/) To

[PHP] Is there any way that PHP will issue a warning when using undeclared vars?

2005-01-02 Thread Dan Eloff
My single biggest beef with PHP is the fact that it silently fails when I use a variable that has never been declared. Like if($sumbit) will always be false because the variable was really named $submit. My only clue that this is happening is whe the program fails to work as intended and I waste lo