Hacker's guide?

php.internals

Ian Young

19 years ago
Hi all, I'm applying for one of PHP's Google Summer of Code projects. The ideas page (http://www.php.net/ideas.php) includes this text: "If you are applying for a project in the PHP code itself (in C), you may find useful the PHP hackers guide, which also includes our C coding standards (TBD)." Does this hackers guide exist? I don't see it anywhere in the documentation. Is this just a reference to the readmes included in the source code? I did find the coding standards there, but I'm curious if there's more info somewhere else. Ian

Antony Dovgal

19 years ago
On 03/26/2007 11:42 PM, Ian Young wrote:
> Hi all, > I'm applying for one of PHP's Google Summer of Code projects. The ideas > page (http://www.php.net/ideas.php) includes this text: "If you are > applying for a project in the PHP code itself (in C), you may find > useful the PHP hackers guide, which also includes our C coding standards > (TBD)." Does this hackers guide exist? I don't see it anywhere in the > documentation. Is this just a reference to the readmes included in the > source code? I did find the coding standards there, but I'm curious if > there's more info somewhere else.
It's probably referring to http://www.php.net/manual/en/zend.php
-- Wbr, Antony Dovgal

Nuno Lopes

19 years ago
> On 03/26/2007 11:42 PM, Ian Young wrote: >> Hi all, >> I'm applying for one of PHP's Google Summer of Code projects. The ideas >> page (http://www.php.net/ideas.php) includes this text: "If you are >> applying for a project in the PHP code itself (in C), you may find >> useful the PHP hackers guide, which also includes our C coding standards >> (TBD)." Does this hackers guide exist? I don't see it anywhere in the >> documentation. Is this just a reference to the readmes included in the >> source code? I did find the coding standards there, but I'm curious if >> there's more info somewhere else. > > It's probably referring to http://www.php.net/manual/en/zend.php
Nop, sorry.. It says there "TBD" (to be done) :) I added that because I had the intention to write a PHP hackers guide, but I never started it. I hope it will be ready on the next year's SoC :) Anyway, if you need some pointers, just ask here or on IRC (efnet: #php.pecl). Nuno

Sara Golemon

19 years ago
Ian Young wrote:
> Hi all, > I'm applying for one of PHP's Google Summer of Code projects. The ideas > page (http://www.php.net/ideas.php) includes this text: "If you are > applying for a project in the PHP code itself (in C), you may find > useful the PHP hackers guide, which also includes our C coding standards > (TBD)." Does this hackers guide exist? I don't see it anywhere in the > documentation. Is this just a reference to the readmes included in the > source code? I did find the coding standards there, but I'm curious if > there's more info somewhere else. >
Some handy resources: Websites: * http://www.php.net/zend Official documentation. Not as well maintained as the userspace portions of the manual, but still very useful. * http://www.zend.com/php/internals Walthrough driven, focuses on extension development, but includes some "general internals" information in places. Books: * Extending and Embedding PHP (ISBN: 067232704X) Expanded version of http://www.zend.com/php/internals , Covers more of the sticky bits of navigating the PHPAPI. * Advanced PHP Programming (ISBN: 0672325616) Primarily aimed at userspace development, but it has a large section on extension development and working with the APIs exposed by PHP. Disclaimer: I wrote zend.com/php/internals Ext/Embed PHP, so take these recommendations with the grain of salt that they /are/ biased. And of course, there's always this mailing list and pecl-dev. -Sara