Re: [PHP-DEV] Help: problem in array handling

2002-07-02 Thread Venkat Raghavan
Thanx, Markus, for your prompt and "bull's eye" reply. That worked like a beauty! Also discovered some mistakes in our test script. Thanx again, Venkat >>> Markus Fischer <[EMAIL PROTECTED]> 02/07/2002 16:05:43 >>> On Tue, Jul 02, 2002 at 04:23:13AM -0600, Venkat Raghavan wrote : >

Re: [PHP-DEV] Help: problem in array handling

2002-07-02 Thread Markus Fischer
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 o

[PHP-DEV] Help: problem in array handling

2002-07-02 Thread Venkat Raghavan
Hi. We are writing an extension for Novell's component infrastructure piece called UCS, which allows one to talk to various component systems. It is modelled on the Java extension written by Sam Ruby. We have been able to handle the basic datatypes and even objects, but are presently stuck with