Skip navigation.
Home

Z_STRVAL()

Used to get the string data contained in a zval

Z_STRVAL(zval)

Parameters:

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

This will not convert the data to a bool

This macro is for use on zval variables, for zval* use Z_BVAL_P and for zval** use Z_BVAL_PP

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