# Hacker's guide?

- Thread: https://externals.io/message/28604
- Original archive: https://news-web.php.net/php.internals/28604
- Started by Ian Young on 2007-03-26T19:42:19+00:00
- Messages: 4
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #28604 — Ian Young — 2007-03-26T19:42:19+00:00

URL: https://externals.io/message/28604#28604

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

---

## #28605 — Antony Dovgal — 2007-03-26T20:34:37+00:00

URL: https://externals.io/message/28604#28605 · In reply to: #28604

> 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

---

## #28606 — Nuno Lopes — 2007-03-26T20:50:15+00:00

URL: https://externals.io/message/28604#28606 · In reply to: #28605

> 
> > […]
>
> 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

---

## #28653 — Sara Golemon — 2007-04-02T18:48:55+00:00

URL: https://externals.io/message/28604#28653 · In reply to: #28604

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
