zend_hash and it's keys + domxml
| From: | Krzysztof Jarecki | Date: | Fri, 30 Nov 2001 18:23:29 +0000 |
| Subject: | zend_hash and it's keys + domxml | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-72159@lists.php.net to get a copy of this message | ||
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