Declaration of the Zend Function Block

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

Beispiel 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.

Anmerkung :

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

Tabelle 31-2 .