Re: Return of multidimensional arrays...
| From: | Zeev Suraski | Date: | Tue, 07 Nov 2000 15:36:00 +0000 |
| Subject: | Re: Return of multidimensional arrays... | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-37358@lists.php.net to get a copy of this message | ||
In order to do that, you'd have to directly use the Zend hash functions and zval's. I'm not sure if the current version of the Zend Engine API documentation covers it or not, but if it doesn't, some day it will :)
Zeev
At 13:23 07-11-00, CHristian Niss wrote:
Hi there, another problem: I want to implement a function that returns a multidimensional array. As I understand it is no problem to return a one-dimensional array that has been built with add_index_long(...) etc, but there is no function that lets me add an array as element of an array like add_index_array(...) ? Not to be misunderstood, I am writing an additional module for PHP in C ... Thanks in advance CHris ---- Zeev Suraski <zeev@zend.com> +972-3-6139665, ext 105 http://www.zend.com/Christian Niss Avinci Region Mitte GmbH tel. +49(178)8855-617 The Know How Companyfax. +49(178)998855-617 <mailto:christian.niss@avinci.de>mailto:christian.niss@avinci.de http://www.avinci.de