April 2026
Intermediate
1009 pages
34h 15m
English
The script has automatically created a directory with the name of the extension (here, book; uppercase letters are converted to lowercase letters by ext_skel.php) and created some files there, including the following:
config.m4Among other things, this file sets up a new configuration switch for PHP:
... PHP_ARG_ENABLE([book], [whether to enable book support], [AS_HELP_STRING([--enable-book], [Enable book support])], [no]) ...
book.cThe C source code of the extension. If you have used the PECL packages, this is practically ready. If you use ext_skel.php, you still need to enter some information in the generated files. As it happens, there are already two test functions in the file, test1() and test2(). These provide good ...
Read now
Unlock full access