mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 23:51:51 +00:00
Don't pass cache_slot to standard handlers
With the cache_slot being filled by the write-handler passing on the cache_slot, succeeding write calls are not passed on to our write but handled directly by the executor instead (in zend_assign_to_object)
This commit is contained in:
parent
b8726409f4
commit
9827224471
@ -999,7 +999,7 @@ static void v8js_write_property(zval *object, zval *member, zval *value, void **
|
||||
}
|
||||
|
||||
/* Write value to PHP object */
|
||||
std_object_handlers.write_property(object, member, value, cache_slot TSRMLS_CC);
|
||||
std_object_handlers.write_property(object, member, value, NULL);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
@ -1015,7 +1015,7 @@ static void v8js_unset_property(zval *object, zval *member, void **cache_slot TS
|
||||
jsobj->Delete(V8JS_SYML(Z_STRVAL_P(member), Z_STRLEN_P(member)));
|
||||
|
||||
/* Unset from PHP object */
|
||||
std_object_handlers.unset_property(object, member, cache_slot TSRMLS_CC);
|
||||
std_object_handlers.unset_property(object, member, NULL);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user