mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Replace ZVAL_COPY() and ZVAL_COPY_VALUE() for IS_OBJECT by cheaper macros
This commit is contained in:
parent
071b389bc6
commit
83804519df
29 changed files with 102 additions and 63 deletions
|
@ -550,7 +550,8 @@ zend_object_iterator *php_com_saproxy_iter_get(zend_class_entry *ce, zval *objec
|
|||
Z_PTR(I->iter.data) = I;
|
||||
|
||||
I->proxy = proxy;
|
||||
ZVAL_COPY(&I->proxy_obj, object);
|
||||
Z_ADDREF_P(object);
|
||||
ZVAL_OBJ(&I->proxy_obj, Z_OBJ_P(object));
|
||||
|
||||
I->indices = safe_emalloc(proxy->dimensions + 1, sizeof(LONG), 0);
|
||||
for (i = 0; i < proxy->dimensions; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue