On Tue, Jul 02, 2002 at 04:23:13AM -0600, Venkat Raghavan wrote :
> zval php_element;
[...]
> // Put element into array
> zend_hash_index_update(php_var->value.ht, (int)i, (void*)&php_element,
>sizeof(zval*), NULL);
You put in the hash a static address of a variable which is
only known inside the local function scope? This doesn't look
right to me. You've to allocate the memory and put it into
the hash.
- Markus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php