Re: Re: return of an array

From: Date: Wed, 17 Nov 2004 13:20:55 +0000
Subject: Re: Re: return of an array
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-1641@lists.php.net to get a copy of this message
Again, thank you sara, this helped, i used the STL string class to feed the function to append a string to my array... after copying this value into a freshly char* emalloced, it worked very well. Thanks. I didn't complain about the creation of the array variable itself which is as you told well shown. I meant about returning the array which is not documented at all. and yes, i'll at some moment update the documentation. Maybe when i'll have more than one extension done. anyhow, the first one is a full success. On Wednesday 17 November 2004 07:08, Sara Golemon wrote: > Lacking any detail I can only guess; You've probably got a double free or a > malloc vs emalloc issue going on. Provide some actual code or, god forbid, > a backtrace and someone will be able to give you a clue. > > -Sara > > P.S. - As to the documentation, complaining won't make it better (point in > fact, the documentation on array creation is one of the most comprehensive > parts). Taking notes from what you learn here and using that to update the > documentation will. I'm sure you didn't mean to kvetch, but ya did.

« previous php.pecl.dev (#1641) next »