PHP 手冊
上一頁 | 章 33.Source Discussion | 下一頁

# Header File Inclusions

The only header file you really have to include for your modules is `php.h`, located in the PHP directory. This file makes all macros and API definitions required to build new modules available to your code.

Tip: It's good practice to create a separate header file for your module that contains module-specific definitions. This header file should contain all the forward definitions for exported functions and include `php.h`. If you created your module using ext_skel you already have such a header file prepared.

上一頁 | 最開頭 | 下一頁
Source Discussion | 上一層 | Declaring Exported Functions