summaryrefslogtreecommitdiff
path: root/ext/spl/spl_fixedarray.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2014-02-16 22:27:31 +0800
committerXinchen Hui <laruence@gmail.com>2014-02-16 22:27:31 +0800
commitad1838d2483c3a44c77a2d483a5cf27ffeb63e45 (patch)
tree799c3bea37f66f2f994610c1fff082a7208fc524 /ext/spl/spl_fixedarray.c
parentf0168baecfb27e104e46fe914e5b5b6507ba8214 (diff)
downloadphp-git-ad1838d2483c3a44c77a2d483a5cf27ffeb63e45.tar.gz
Use better data structures (incomplete)
Diffstat (limited to 'ext/spl/spl_fixedarray.c')
-rw-r--r--ext/spl/spl_fixedarray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_fixedarray.c b/ext/spl/spl_fixedarray.c
index 3c35dc77c2..075df9b2b7 100644
--- a/ext/spl/spl_fixedarray.c
+++ b/ext/spl/spl_fixedarray.c
@@ -601,7 +601,7 @@ SPL_METHOD(SplFixedArray, __wakeup)
spl_fixedarray_init(intern->array, size TSRMLS_CC);
for (zend_hash_internal_pointer_reset_ex(intern_ht, &ptr); (data = zend_hash_get_current_data_ex(intern_ht, &ptr)) != NULL; zend_hash_move_forward_ex(intern_ht, &ptr)) {
- Z_ADDREF_PP(data);
+ Z_ADDREF_P(data);
ZVAL_COPY_VALUE(&intern->array->elements[index++], data);
}