Skip navigation.
Home

Z_STRLEN()

Used to get the length of the string data contained in a zval

Z_STRLEN(zval)

Returns:

int

Parameters:

type parameter description
zval zval the zval container from which to get the length a string value

This will not convert the data to a string or int

This macro is for use on zval variables, for zval* use Z_STRLEN_P and for zval** use Z_STRLEN_PP

This is an alias for (zval).value.str.len