[PHP] Howto return multidimensional arrays from a PHP module

2001-02-05 Thread Thomas Wentzel
Hi all, I've been using array_init and add_assoc_xxx to return an array from within my PHP module... But how would I go about returning the following stucture Array (Array (Name, Type, Size)) tia T. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] Howto return multidimensional arrays from a PHP module

2001-02-05 Thread Soeren Staun-Pedersen
On Mon, 5 Feb 2001, Thomas Wentzel wrote: Hi all, I've been using array_init and add_assoc_xxx to return an array from within my PHP module... But how would I go about returning the following stucture $a = array(1,2,3,4); $b = arrar("foo"=1,"bar"=2); return $a; would work, as well as

Re: [PHP] Howto return multidimensional arrays from a PHP module

2001-02-05 Thread Thomas Wentzel
Thomas Wentzel wrote: Hi Sren, Thank you very much for your answer, but I'm afraid that it isn't that usefull to me... I don't have the luxury of using PHP as my PHP module is written in C!! T. Soeren Staun-Pedersen wrote: On Mon, 5 Feb 2001, Thomas Wentzel wrote: Hi all,

Re: [PHP] Howto return multidimensional arrays from a PHP module

2001-02-05 Thread Phil Driscoll
Thomas Wentzel wrote: Hi Sren, Thank you very much for your answer, but I'm afraid that it isn't that usefull to me... I don't have the luxury of using PHP as my PHP module is written in C!! Repost your question to the php-dev list. That's where the people who know this stuff hang out.