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 טבלה 33-1 ) .

טבלה 33-1 .

הערה : You can find a demonstration of the behavior in cross_conversion.php on the accompanying CD-ROM . תרשים 33-2 shows the output .

תרשים 33-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 דוגמה 33-2 .

דוגמה 33-2 .




For a description of both structures , see טבלה 33-2 , טבלה 33-3 and טבלה 33-4 .

טבלה 33-2 .

See טבלה 33-3 for a description .
For a list of available types , see טבלה 33-4 .

טבלה 33-3 .

טבלה 33-4 .