mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Removed EG(active_op_array) and use corresponding value from EG(current_execute_data)
This commit is contained in:
parent
412ad4b254
commit
4b09dd69e6
17 changed files with 112 additions and 120 deletions
|
@ -1232,7 +1232,7 @@ static void unset_zval_property(zval* object, char* name TSRMLS_DC)
|
|||
ZVAL_STRING(&member, name);
|
||||
old_scope = EG(scope);
|
||||
EG(scope) = Z_OBJCE_P(object);
|
||||
Z_OBJ_HT_P(object)->unset_property(object, &member, 0 TSRMLS_CC);
|
||||
Z_OBJ_HT_P(object)->unset_property(object, &member, -1 TSRMLS_CC);
|
||||
EG(scope) = old_scope;
|
||||
zval_ptr_dtor(&member);
|
||||
} else if (Z_TYPE_P(object) == IS_ARRAY) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue