php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
skeleton.c File Reference
#include "php.h"
#include "ext/standard/info.h"
#include "php_%EXTNAME%.h"
#include "%EXTNAME%_arginfo.h"

Go to the source code of this file.

Macros

#define ZEND_PARSE_PARAMETERS_NONE()
 

Functions

 PHP_FUNCTION (test1)
 
 PHP_FUNCTION (test2)
 
 PHP_RINIT_FUNCTION (%EXTNAME%)
 
 PHP_MINFO_FUNCTION (%EXTNAME%)
 

Variables

zend_module_entry EXTNAME _module_entry
 

Macro Definition Documentation

◆ ZEND_PARSE_PARAMETERS_NONE

#define ZEND_PARSE_PARAMETERS_NONE ( )
Value:
ZEND_PARSE_PARAMETERS_END()
#define ZEND_PARSE_PARAMETERS_START(min_num_args, max_num_args)
Definition zend_API.h:1620

Definition at line 14 of file skeleton.c.

Function Documentation

◆ PHP_FUNCTION() [1/2]

PHP_FUNCTION ( test1 )

Definition at line 20 of file skeleton.c.

◆ PHP_FUNCTION() [2/2]

PHP_FUNCTION ( test2 )

Definition at line 29 of file skeleton.c.

◆ PHP_MINFO_FUNCTION()

PHP_MINFO_FUNCTION ( %EXTNAME% )

Definition at line 58 of file skeleton.c.

◆ PHP_RINIT_FUNCTION()

PHP_RINIT_FUNCTION ( %EXTNAME% )

Definition at line 47 of file skeleton.c.

Variable Documentation

◆ _module_entry

zend_module_entry EXTNAME _module_entry
Initial value:
= {
"%EXTNAME%",
ext_functions,
NULL,
NULL,
PHP_RINIT(%EXTNAME%),
NULL,
PHP_MINFO(%EXTNAME%),
PHP_%EXTNAMECAPS%_VERSION,
}
#define NULL
Definition gdcache.h:45
#define PHP_MINFO
Definition php.h:396
#define PHP_RINIT
Definition php.h:394
#define STANDARD_MODULE_HEADER
#define STANDARD_MODULE_PROPERTIES

Definition at line 67 of file skeleton.c.