Hi,

I were refered to this list...
I found an old entry in the dev archive, explaining that I could achieve
my goals, by "for each inner array you
allocate a zval*, initialize it, add data to it, and add it to the
return value."
But how exactly do I add a zval?
My guess is add_assoc_resource but where do the integer come from?
Is it the returnvalue from array_init(allocatedZvalP)???

TIA
  Thomas

-------- Original Message --------
Subject: Re: [PHP] Howto return multidimensional arrays from a PHP
module
Date: Mon, 5 Feb 2001 12:13:29 -0000
From: "Phil Driscoll" <[EMAIL PROTECTED]>
To: "Thomas Wentzel" <[EMAIL PROTECTED]>, "PHP" <[EMAIL PROTECTED]>

>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. First, you might like to check the php dev archive
as I
think I remember this question coming up a number of times in the past.

Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to