Developing a PHP Extension puts you halfway between PHP's core and user-scripts, giving you access to more possibilities and sometimes better performances.
Coding in C and discovering Zend and PHP APIs can be a bit frightening at first but, with a good guide, you will quickly learn the basics required to develop a first extension.
Ce livre présente les différents concepts entrant en jeu lors de la mise en place d’une Extension PHP, illustrant chacun d’entre eux de nombreux exemples de code visant à faciliter leur mise en pratique.
In this “Writing a PHP 7 extension” book and its 300+ pages, you will find chapters about the following matters:
- Creating a first extension
- Development environment
- Developing a PHP extension on Windows
- Writing a function
- zval: PHP's variables
- Memory
- HashTable and arrays
- Classes and objects
- Errors and exceptions
- Configuration using a .ini file
- Automated testing
- Working with streams
- Resources
- Advanced configuration of the compilation and loading of your extension, including how to use an external library
- A few other points: super-globals, constants, phpinfo(), executing PHP code, using callback functions
- Zend extensions
After you have bought this book, if fixes or updates are published, you will, of course, be able to download them free of charge.