[PHP-DEV] zend_hash and it's keys + domxml

2001-11-30 Thread Krzysztof Jarecki
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 u

Re: [PHP-DEV] zend_hash and it's keys + domxml

2001-11-30 Thread Markus Fischer
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("d