zval?
24/36
Parsing Input Parameters
Parsing Input Parameters
PHP's representation of a value
•
Contains the type:
Z_TYPE_P(points_array)
•
Contains the value:
Z_ARRVAL_P(points_array)
IS_DOUBLE
,
IS_STRING
,
IS_ARRAY
, …
Z_DVAL_P(lat)
,
Z_STRVAL_P(type)
, …
if (Z_TYPE_P(points_array) != IS_ARRAY) {
return;
}