Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 1.24 KB

internals_info.md

File metadata and controls

32 lines (17 loc) · 1.24 KB

PHP Internals development info

This document lists some resources people may find useful to start to learn how PHP works internally, and what is involved in PHP extension development.

PHP internals book

www.phpinternalsbook.com is a collaborative effort between several developers of the PHP language to better document and describe how PHP works internally.

The three primary goals of the book are:

  • Document and describe how PHP internals work.
  • Document and describe how to extend the language with extensions.
  • Document and describe how you can interact with the community to develop PHP itself.

PHP extension sample

Thomas has put together a comprehensive set of example of how to implement many different features in a PHP extension.

Each of the examples are in a separate branch, so you can see precisely the work needed to add that particular feature.

https://github.com/ThomasWeinert/php-extension-sample

Miscellaneous resources

PHP 7 Virtual Machine by Nikita Popov

PHP parameter parsing

Links

Nikic's blog