PHP 忒聊
綴豖
梒 31. Source Discussion
ヶ輛
Implementation of All Exported Functions
Implementing the exported functions is the final step. The example function in first_module looks like this:
ZEND_FUNCTION(first_module) {long parameter; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", parameter) == FAILURE) {return;} RETURN_LONG(parameter);}
After the declaration, code for checking and retrieving the function's arguments, argument conversion, and return value generation follows (more on this later).
綴豖
れ萸
ヶ輛
Creation of get_module()
奻珨撰
Summary