summaryrefslogtreecommitdiff
path: root/Zend/zend_object_handlers.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2003-07-30 17:12:06 +0000
committerZeev Suraski <zeev@php.net>2003-07-30 17:12:06 +0000
commitc0b46739caab84c0cf1aff21c3456de335afe395 (patch)
tree3cf860096c95c4017faa3565640fc277c540ffe6 /Zend/zend_object_handlers.h
parent4839ce59527f45a83da99251be0d35e8ec7ca868 (diff)
downloadphp-git-c0b46739caab84c0cf1aff21c3456de335afe395.tar.gz
Improve array overloading - support unset($foo["bar"])
Diffstat (limited to 'Zend/zend_object_handlers.h')
-rw-r--r--Zend/zend_object_handlers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h
index 0a642b95a8..5f3d29c98f 100644
--- a/Zend/zend_object_handlers.h
+++ b/Zend/zend_object_handlers.h
@@ -59,6 +59,9 @@ typedef int (*zend_object_has_property_t)(zval *object, zval *member, int check_
/* Used to remove a property of the object */
typedef void (*zend_object_unset_property_t)(zval *object, zval *member TSRMLS_DC);
+/* Used to remove a property of the object */
+typedef void (*zend_object_unset_dimension_t)(zval *object, zval *offset TSRMLS_DC);
+
/* Used to get hash of the properties of the object, as hash of zval's */
typedef HashTable *(*zend_object_get_properties_t)(zval *object TSRMLS_DC);
@@ -99,6 +102,7 @@ typedef struct _zend_object_handlers {
zend_object_set_t set;
zend_object_has_property_t has_property;
zend_object_unset_property_t unset_property;
+ zend_object_unset_dimension_t unset_dimension;
zend_object_get_properties_t get_properties;
zend_object_get_method_t get_method;
zend_object_call_method_t call_method;