I develop with error_reporting(E_ALL). It's a major pain to type everytime
if(isset($some_var))
To avoid undefined variable errors. Any tips? If you turn E_ALL on
error_reporting, what do you do?
Generally I make sure my variables are defined, and if I can't be sure I
use...
if (isset
Thanks Jon.
But, that's for security, right? Maybe even other reasons. I know close to
zero of programming theory, so, why is it bad to have undefined vars on the
code?
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
--
PHP General Mailing List
2 matches
Mail list logo