[PHP-DEV] Re: Resource array of arrays (variable at runTime)

2003-12-17 Thread VIVI Arno
Could you direct me to an example in the C source of PHP (or another extension) where they use multidimensional arrays (variable arrays containing a variable number of arrays) ? Thank you ! Arnaud. "Justin Hannus" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > Yes, > > C

[PHP-DEV] Re: Resource array of arrays (variable at runTime)

2003-12-17 Thread Justin Hannus
Yes, Check out zend_hash_update() and zend_hash_index_update() to add elements to your array. For multidimensional arrays, each element (that is an array) mould be a *zval that was previously array_init()'d and filled with zvals pointers. Not sure but I think the PECL list might be a better place