Antony Dovgal wrote: > Only if you created it during the call. > > <?php > function foo(&$arg) { > } > > foo($nonex); > var_dump(isset($nonex)); > ?> > > bool(false) >
$ php -r 'function foo(&$foo){} function bar(){ foo($var); var_dump(get_defined_vars());} bar();' array(1) { ["var"]=> NULL } -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php