zend_class_iterator_funcs *iterator_funcs_ptr;
/* handlers */
- zend_object* (*create_object)(zend_class_entry *class_type);
+ union {
+ zend_object* (*create_object)(zend_class_entry *class_type);
+ int (*interface_gets_implemented)(zend_class_entry *iface, zend_class_entry *class_type); /* a class implements this interface */
+ };
zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref);
- int (*interface_gets_implemented)(zend_class_entry *iface, zend_class_entry *class_type); /* a class implements this interface */
union _zend_function *(*get_static_method)(zend_class_entry *ce, zend_string* method);
/* serializer callbacks */
class_container.serialize = NULL; \
class_container.unserialize = NULL; \
class_container.create_object = NULL; \
- class_container.interface_gets_implemented = NULL; \
class_container.get_static_method = NULL; \
class_container.__call = NULL; \
class_container.__callstatic = NULL; \
ce->create_object = NULL;
ce->get_iterator = NULL;
ce->iterator_funcs_ptr = NULL;
- ce->interface_gets_implemented = NULL;
ce->get_static_method = NULL;
ce->parent = NULL;
ce->num_interfaces = 0;