summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_handlers.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-05-29 11:52:55 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-05-29 17:15:19 +0200
commit45a0656e9589eff0908067aba5a18026eec51231 (patch)
tree749cc6a5ed1a94c00af05f7502c2be10248deeed /ext/com_dotnet/com_handlers.c
parent693955c5c534ac6ef7a3785e9731a1e9f6e3c2fa (diff)
downloadphp-git-45a0656e9589eff0908067aba5a18026eec51231.tar.gz
Remove get() object handler
Now that set() is gone, there is little point in keeping get(), as it is essentially just a different way of writing cast_object() now. Closes GH-4202.
Diffstat (limited to 'ext/com_dotnet/com_handlers.c')
-rw-r--r--ext/com_dotnet/com_handlers.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c
index feda1a9643..3893017553 100644
--- a/ext/com_dotnet/com_handlers.c
+++ b/ext/com_dotnet/com_handlers.c
@@ -174,14 +174,6 @@ static void com_write_dimension(zend_object *object, zval *offset, zval *value)
}
}
-#if 0
-static zval *com_object_get(zval *property)
-{
- /* Not yet implemented in the engine */
- return NULL;
-}
-#endif
-
static int com_property_exists(zend_object *object, zend_string *member, int check_empty, void **cache_slot)
{
DISPID dispid;
@@ -540,7 +532,6 @@ zend_object_handlers php_com_object_handlers = {
com_read_dimension,
com_write_dimension,
NULL,
- NULL, /* com_object_get, */
com_property_exists,
com_property_delete,
com_dimension_exists,