Re: Calling symbol table patch

From: Date: Tue, 21 Nov 2000 15:00:39 +0000
Subject: Re: Calling symbol table patch
References: 1 2 3 4 5  Groups: php.dev 
Request: Send a blank email to php-dev+get-38827@lists.php.net to get a copy of this message
On Tue, 21 Nov 2000, Sterling Hughes wrote: > /* {{{ proto array get_defined_vars(void) > Returns an associative array of names and values of all currently > defined variable names (variables in the current scope) */ > ZEND_FUNCTION(get_defined_vars) > { > zval *tmp; > > array_init(return_value); > zend_hash_copy(return_value->value.ht, EG(active_symbol_table), > (copy_ctor_func_t)zval_add_ref, &tmp, > sizeof(zval *)); > } > /* }}} */ Just do it. :) -Andrei Computer, if you don't open that exit hatch this moment I shall zap straight off to your major data banks and reprogram you with a very large axe. -- Douglas Adams / The Hitchhiker's Guide to the Galaxy

« previous php.dev (#38827) next »