I think that the best will be that somebody with a hole experience in PHP internals to write a book, I will sure buy it.
Best regards, Emanuel Dejanu -----Original Message----- From: Eric Veldhuyzen [mailto:[EMAIL PROTECTED]] Sent: 6 iunie 2002 16:59 To: Markus Fischer Cc: fabwash; Eric Veldhuyzen; [EMAIL PROTECTED] Subject: Re: [PHP-DEV] How do I access a hash from an extention/module? On Thu, Jun 06, 2002 at 03:45:08PM +0200, Markus Fischer wrote: > 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 I've read that. Multiple times. But it is hardly anything close to real documentation. Claiming that this is real documentation is like explaining how to write a 'hello world' program in C is real documateion about how to write real programs in C. It is a nice primer, but nothing more than that. It explains how to werite a VERY basic extention and then stops. Not my idea of real documentation. I would settle for a small summary of all the functions one might want to call, with a short description of its function and the parameters it acceepts. That would be terrific. > 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. To write documentation you first have to know how it works. And I am nowhere near that. I have written some code that seems to work, but since none of tha parameters are described and there is hardly any comment in de PHP source code it is very hard to be able to understand how it all works. -- #!perl # Life ain't fair, but root passwords help. # Eric Veldhuyzen [EMAIL PROTECTED] $!=$;=$_+(++$_);($:,$~,$/,$^,$*,$@)=$!=~ # Perl Monger /.(.)...(.)(.)....(.)..(.)..(.)/;`$^$~$/$: $^$*$@$~ $_>&$;` -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php