Z_STRLEN()
Submitted by Katrina Niolet on Fri, 06/29/2007 - 20:25.
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
