Skip navigation.
Home

INIT_OVERLOADED_CLASS_ENTRY()

Convienience macro for setting the properties of a fairly simple class entry

INIT_OVERLOADED_CLASS_ENTRY(class_container, class_name, functions, handle_fcall, handle_propget, handle_propset)

type parameter description
zend_class_entry class_container The container in which to store this class type
char* class_name The name of the class as seen in userspace
zend_function_entry[] functions Array of methods
handle_fcall
handle_propget
handle_propset

You should use this macro to set class entry properties when you do not need to specify methods for equivalents to __isset() or __unset().

This is an alias for INIT_OVERLOADED_CLASS_ENTRY_EX(class_container, class_name, functions, handle_fcall, handle_propget, handle_propset, NULL, NULL)