Skip navigation.
Home

Types

zval

The container used to hold a userspace variable

Properties:

type property description
zvalue_value value actual value contined in this variable
zend_uint refcount number of references to this variable
zend_uchar type type of value contained in this variable, see below
zend_uchar is_ref

zend_object_value

Properties:

type property description
zend_object_handle handle object's handle id in the object table
zend_object_handlers* handlers

zend_uchar

An unsigned character

An unsigned character can generally contain values from 0x00 to 0xFF (depending on the host system)

Internally, zend_uchar is an 'unsigned char'

Example:

zend_uchar space = 0x20;

zend_bool

A boolean value

A zend_bool should generally only contain a 1 or 0

Internally, zend_bool is an 'unsigned char'

Example:

zend_bool mybool;

zend_class_entry

A userspace class

zend_function_entry

A userspace function entry

Properties:

type property description
char* fname userspace name of the function
void* handler
zend_arg_info* arg_info
zend_uint num_args number of arguments to this function
zend_uint flags

Types

Zend Engine 2 Variable Types

Syndicate content