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

From: Date: Mon, 05 Feb 2001 14:26:00 +0000
Subject: Re: [Fwd: Re: [PHP] Howto return multidimensional arrays from a PHP module]
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-45772@lists.php.net to get a copy of this message
Hmmm... Can anybody tell me why this mail ended up in this list and not the devel list?? Thomas Wentzel wrote: > > 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" <phil@dialsolutions.co.uk> > To: "Thomas Wentzel" <tw@2m.dk>, "PHP" > <php-general@lists.php.net> > > >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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.dev (#45772) next »