Skip navigation.
Home

Z_OBJCE()

Used to get the class entry of the object contained in a zval

Z_OBJCE(zval)

Returns:

zend_class_entry

Parameters:

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

This will not convert the data to an object

This macro is for use on zval variables, for zval* use Z_OBJCE_P and for zval** use Z_OBJCE_PP

This is an alias for zend_get_class_entry(&(zval) TSRMLS_CC)