Skip navigation.
Home

Z_OBJ_HANDLE()

Used to get a zend_object_handle contained in a zval

Z_OBJ_HANDLE(zval)

Returns:

zend_object_handle*

Parameters:

type parameter description
zval zval the zval container from which to get the zend_object_handle

This will not convert the data to an object

This macro is for use on zval variables, for zval* use Z_OBJ_HANDLE_P and for zval** use Z_OBJ_HANDLE_PP

This is an alias for Z_OBJVAL(zval).value.handle