Declaration of the Zend Function Block

Internally , zend_function_entry is defined as shown in 31-1 .

Příklad 31-1 .




In the example above, the declaration looks like this:



You can see that the last entry in the list always has to be {NULL, NULL, NULL} . This marker has to be set for Zend to know when the end of the list of exported functions is reached.

Poznámka :

31-2 shows a list of all the macros that you can use to define functions .

Tabulka 31-2 .