Source DiscussionPodręcznik PHPPoprzedniNastępnyRozdział 31. Source DiscussionSpis treściModule StructureHeader File InclusionsDeclaring Exported FunctionsDeclaration of the Zend Function BlockDeclaration of the Zend Module BlockCreation of get_module()Implementation of All Exported FunctionsSummary
Now that you've got a safe build environment and you're able to include
the modules into PHP files, it's time to discuss how everything works.
Module Structure
All PHP modules follow a common structure:
Header file inclusions (to include all required macros, API
definitions, etc.)
C declaration of exported functions (required to declare the Zend
function block)
Declaration of the Zend function blockDeclaration of the Zend module blockImplementation of get_module()Implementation of all exported functionsPoprzedniSpis treściNastępnyTroubleshootingPoczątek rozdziałuHeader File Inclusions
Wyszukiwarka