mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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.
This commit is contained in:
parent
693955c5c5
commit
45a0656e95
14 changed files with 22 additions and 190 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue