can zend_hash_add used with local variables?

From: Date: Fri, 26 May 2000 14:35:46 +0000
Subject: can zend_hash_add used with local variables?
Groups: php.version4 
Request: Send a blank email to php-version4+get-15793@lists.php.net to get a copy of this message
not too sure - is: { putenv_entry pe; .... zend_hash_add(&BG(putenv_ht),pe.key,pe.key_len+1,(void **) &pe,sizeof(putenv_entry),NULL); ... valid? usually one would alloc a putenv_entry * and pass that to hash_add, right? confused... tc -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.version4 (#15793) next »