Accessing Arguments

To work around this , you have to use a set of API functions to force a type conversion on every argument that' s being passed (see Tabelle 32-1 ) .

Tabelle 32-1 .

Anmerkung : Abbildung 32-2 shows the output .

Abbildung 32-2 .




After retrieving the parameter pointer, the parameter value is converted to a long (an integer), which also forms the return value of this function. Understanding access to the contents of the value requires a short discussion of the zval type, whose definition is shown in Beispiel 32-2 .

Beispiel 32-2 .




For a description of both structures , see Tabelle 32-2 , Tabelle 32-3 and Tabelle 32-4 .

Tabelle 32-2 .

See Tabelle 32-3 for a description .
For a list of available types , see Tabelle 32-4 .

Tabelle 32-3 .

Tabelle 32-4 .