Skip navigation.
Home

Z_BVAL()

Used to get the Boolean data contained in a zval

Z_BVAL(zval)

Parameters:

type parameter description
zval zval the zval container from which to get a Boolean 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 ((zend_bool)(zval).value.lval)