Re: How do I access a hash from an extention/module?
| From: | fabwash | Date: | Thu, 06 Jun 2002 13:36:29 +0000 |
| Subject: | Re: How do I access a hash from an extention/module? | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-84931@lists.php.net to get a copy of this message | ||
> It would be nice it there was some REAL documentation about the API...
>
Amen to that!!!.. I spent exactely 5 1/2 hours yesterday trying to create a
resource that is a structure which contains a set of pointers to an array of
objects (yeah it's complicated but it's great when it works !), then later
retrieve the array, walk throught it, get the objects back from the hash,
and do something with them.
Works fine for now (although i'm sure i have major memory leaks for now
because i'm not sure how to deallocate and when to do it, when to add
references and remove references), but some documentation would have reduced
my research, trial and error, multiple compilations, tests, other source
reading, debugging time, etc..
I get great help from people here on specific issues, but i'd rather read
some documentation before asking stupid questions.
Fab.