This is a set of C functions and macros to help PHP extension developers.
Home site : https://github.com/flaupretre/pecl-utils
Features include common arginfo structures, debug macros, exception macros, memory allocation, mutexes...
For examples of using this library, look at the PCS extension.
Note that this code uses the PECL compatibility library, which must be included first.
Supported PHP versions
5.3 and above, including 7.