In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Nicholas Pappas) wrote:
> When I check a variable (say, in a if() statement) via !$var, I get a
> Warning message printed saying that it is not initialized (if that is
> the case)... well, that's part of the reason why I bloody doing the test!
<snip>
> I am aware of the isset($var) function, but this does work for my purposes.
It sure sounds like the right function for your purposes. Or are you
really trying to do an..
if(!isset($var) or empty($var))
...? Because if you do it like that (isset check first), the warning won't
come up, even on E_ALL.
--
CC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]