Table Of Contents¶
PHP 7 and PHP 8¶
- Introduction
- Using the PHP build system
- Zvals
- Internal types
- Classes and objects
- Extensions design
- Learning the PHP lifecycle
- A look into a PHP extension and extension skeleton
- Registering and using PHP functions
- Managing global state
- Publishing extension information
- Hooks provided by PHP
- Hooking into the execution of functions
- Overwriting an Internal Function
- Modifying the Abstract Syntax Tree (AST)
- Hooking into Script/File Compilation
- Notification when Error Handler is called
- Notification when Exception is thrown
- Hooking into eval()
- Hooking into the Garbage Collector
- Overwrite Interrupt Handler
- Replacing Opcode Handlers
- Declaring and using INI settings
- Zend Extensions
- Memory management
- Zend engine
- Debugging with GDB
PHP 5¶
Creating PHP extensions
Implementing functions
Testing PHP Source¶
Writing tests applies to both PHP 5 & PHP 7.