On Thu, Aug 14, 2003 at 11:15:51AM -0700, walt boring wrote: > I for one would like to see something like variable_exists(), as I am > very annoyed with > the logic of isset() returning false if the variable exists and has a > value of null. [snip] > I for one would much rather do > if ( variable_exists($var) ) {} versus > if (isset($var) || is_null($var)) {}
When do you need to do that? I can't think of many situations where it would be neccessary to check if a variable really exists. -- Regards, Stefan Walk <[EMAIL PROTECTED]> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php