diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-29 11:52:55 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-29 17:15:19 +0200 |
| commit | 45a0656e9589eff0908067aba5a18026eec51231 (patch) | |
| tree | 749cc6a5ed1a94c00af05f7502c2be10248deeed /ext/com_dotnet | |
| parent | 693955c5c534ac6ef7a3785e9731a1e9f6e3c2fa (diff) | |
| download | php-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')
| -rw-r--r-- | ext/com_dotnet/com_handlers.c | 9 | ||||
| -rw-r--r-- | ext/com_dotnet/com_saproxy.c | 9 |
2 files changed, 0 insertions, 18 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, diff --git a/ext/com_dotnet/com_saproxy.c b/ext/com_dotnet/com_saproxy.c index 8d76af3830..96a743290a 100644 --- a/ext/com_dotnet/com_saproxy.c +++ b/ext/com_dotnet/com_saproxy.c @@ -274,14 +274,6 @@ static void saproxy_write_dimension(zend_object *object, zval *offset, zval *val } } -#if 0 -static zval *saproxy_object_get(zval *property) -{ - /* Not yet implemented in the engine */ - return NULL; -} -#endif - static int saproxy_property_exists(zend_object *object, zend_string *member, int check_empty, void **cache_slot) { /* no properties */ @@ -397,7 +389,6 @@ zend_object_handlers php_com_saproxy_handlers = { saproxy_read_dimension, saproxy_write_dimension, NULL, - NULL, /* saproxy_object_get, */ saproxy_property_exists, saproxy_property_delete, saproxy_dimension_exists, |
