> A few weeks ago I submitted a patch in the bug db for a
> variable_exists() construct, which parallels the function_exists()
> one but for variables. In short, it returns TRUE if a variable
> exists, regardless of its value. In other words, it's an isset()
> which doesn't care if the variable's value is NULL.

Nice work.

However, if your application relies on unset variables to be
distinguishable from variables that are null, you should
probably fix your application first, and then consider 'fixing'
the language.

Ard




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

Reply via email to