The "counter" Extension - A Continuing Example
Содержание
Preface
Throughout this Zend documentation, references are made to an example module in order to illustrate various concepts. The "counter" extension is this example, a fictional yet functional Zend module which strives to use as much of the Zend API as is reasonably possible. This short chapter describes the userland interface to the completed extension.
Замечание: "counter" serves no practical purpose whatsoever, as the functionality it provides is far more effectively implemented by appropriate userland code.
- Preface
- Memory management
- Working with Variables
- Writing Functions
- Writing Classes
- Working with Resources
- Working with INI settings
- Working with streams
- The "counter" Extension - A Continuing Example
- The PHP 5 build system
- Extension structure
- PDO Driver How-To
- Extension FAQs
- Zend Engine 2 API reference
- Zend Engine 2 Opcodes
- Zend Engine 1
Коментарии
After testing PHP versions from 4.4 to 7.2 on Windows, I found that the Counter extension is actually not supported by PHP.
1. The COUNTER_* constants and the counter_* functions are not defined.
2. The Counter class can not be found.
3. The Counter extension can not be found on the PECL site.