Re: How do I access a hash from an extention/module?
| From: | Markus Fischer | Date: | Thu, 06 Jun 2002 13:45:08 +0000 |
| Subject: | Re: How do I access a hash from an extention/module? | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-84932@lists.php.net to get a copy of this message | ||
On Thu, Jun 06, 2002 at 09:36:29AM -0400, fabwash wrote :
> > 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.
Actually, there is: http://www.php.net/manual/en/zend.php
Not up-to-date, but still worth a read. And, it's the same
for Zend docs as it is for PHP docs: volunteers are welcome.
I've seen quite a few people in the last months writing
extenions and therefore they "know" how it is for a
newcommer. Yet no one asked if he can help out with the
documentation.
- Markus
--
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc