Re: zend_hash and it's keys + domxml

From: Date: Fri, 30 Nov 2001 22:37:22 +0000
Subject: Re: zend_hash and it's keys + domxml
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-72170@lists.php.net to get a copy of this message
add_property_*() is used. - Markus On Fri, Nov 30, 2001 at 07:23:29PM +0100, Krzysztof Jarecki wrote : > Hi all ;) > > I was just wondering why this line doesn't work. It's an extract from > domxml.c (slightly changed): > > if (zend_hash_find(id->value.obj.properties, "doc", sizeof("doc"), (void > **)&tmp) == FAILURE) { > php_error(E_WARNING, "unable to find my handle property"); > > This is said to be working under php 4.0.6 and I am using a cvs version of > domxml.c and domxml.h > > Exactly this one: php_domxml.c,v 1.75 2001/09/19 02:24:05 joey Exp > > I am also curios about the keys in the hash tables. > How and where can I find which keys are added into the hash tables? > Maybe it's not "doc"... in the domxml extensio there is also > "children" key > and a few others probably. > > Where can I find these? > I was looking for some zend_hash_update, or zend_hash_add functions but > unfortunately it doesn't help ;( > > Thank for any feedback > > Chris Jarecki > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Please always Cc to me when replying to me on the lists.

« previous php.dev (#72170) next »