> php -r 'function f(){$f=null; var_dump(array_key_exists("f",
> get_defined_vars()));} f();'

So, two function calls? That is not a solution to simply check if a variable has been created. You are creating an array and operating on said array. It should be a language construct. Why use an array function to decide something about a non-array variable?


Brian.
--------
http://brian.moonspot.net/

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

Reply via email to