文章目录
你看到的是PHP内核中文版,翻译自PHP Internals Book。
为什么要翻译
- 对技术的饥渴
- 对英语的热爱
- 方便汉语作为母语的人学习交流
官方网站
Github(更新最快)
https://github.com/GenialX/php-internals-book-in-chinese
关于作者
内容目录
- Introduction
- Using the PHP build system
- Building PHP
- Building PHP extensions
- Creating PHP extensions
- Zvals
- Basic structure
- Memory management
- Casts and operations
- Implementing functions
- Hashtables
- Basic structure
- Hashtable API
- Symtable and array API
- Hash algorithm and collisions
- Classes and objects
- Simple classes
- Custom object storage
- Implementing typed arrays
- Object handlers
- Iterators
- Serialization
- Magic interfaces – Comparable
- Internal structures and implementation