PHP 7.2.7 Released

The "counter" Extension - A Continuing Example

Table of Contents


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.

Note: "counter" serves no practical purpose whatsoever, as the functionality it provides is far more effectively implemented by appropriate userland code.

add a note add a note

User Contributed Notes 1 note

ohcc at 163 dot com
30 days ago
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.
To Top