On 06/11/2010 07:43 PM, Brian Moon wrote:
Is it just me or are we missing a way in the language to check if a variable that has been set to NULL exists or not? ... perhaps an var_exists() function is needed to fill this hole?
php -r 'function f(){$f=null; var_dump(array_key_exists("f", get_defined_vars()));} f();' Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php