I haven't been on the forum in quite a while so haven't asked a dumb question which probably catagorizes the following:
Within the error management section of the book there is the following code:
if (!LIVE ) { // Development (print the error).
// Show the error message:
echo '<div class="error">' . nl2br($message);
// Add the variables and a backtrace:
echo '<pre>' . print_r ($e_vars, 1) . "\n";
debug_print_backtrace();
echo '</pre></div>';
etc....
}
This will give all errors and notices including undefined variables. I do want the undefined variable notices EXCEPT if they are included in an if (isset ()) conditional, which I don't care about.
So,
if (!LIVE && ($e_number != E_NOTICE) )}
won't work because it won't point out $thisVar if it is not defined.
Is there a way to shield the "isset" qualified variables.