<[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]>
> You can avoid the notice by doing if(isset($var) && !is_null($var)) { }
>
> We can't have a function for every piece of code.
>
IMHO, a function to test if a variable exists or not is not "every piece of
code". See what is necessary to test if a variable exists or not !!! In fact
it's a workaround to a necessary variable_exists function.

Cristiano Duarte



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to