On 29/12/16 16:17, ilija.tov...@me.com wrote:
> Looking at the giant repository I feel a little overwhelmed. Is there a
> place where I can get started and learn more about the architecture of the
> interpreter before diving into the source code itself? I’m sorry if this
> question has been asked before.
>
phpinternalsbook.com is a start, but bear in mind it's PHP5 focused
and while the general concepts are the same, a lot of important
specifics have changed in 7.

Broadly speaking:  ext/$1/*.c <--- extension code, where $1 is the
extension name (roughly).

zend_module_entry is the "start point" that everything else bubbles
out from.  All the zend_*() APIs are in Zend/ and (most) of the others
are in main/

You can follow repos like https://github.com/sgolemon/2016-sfmeetup
which are concept-by-concept walkthroughs of the most essential
basics.

Focus on extensions to start, once you're comfortable with those, you
can move confidently onto the scripting engine, sapis, etc...


On Thu, Dec 29, 2016 at 10:42 AM, Bradley Weston <b...@legalweb.org.uk> wrote:
> I'm trying to do the same thing.
>
> I've tried to fix a bug in SPL iterators. However the code is not documented
> anywhere and the guys on IRC aren't able to help much without dedicating
> their time.
>
You can also try http://chat.stackoverflow.com/rooms/11/php

-Sara

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to