diff options
Diffstat (limited to 'ext/standard/array.c')
-rw-r--r-- | ext/standard/array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/array.c b/ext/standard/array.c index e18d122b4b..a7c7a908e8 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -1205,7 +1205,7 @@ HashTable* _phpi_splice(HashTable *in_hash, int offset, int length, /* Create and initialize output hash */ out_hash = (HashTable *)emalloc(sizeof(HashTable)); - zend_hash_init(out_hash, 0, NULL, PVAL_PTR_DTOR, 0); + zend_hash_init(out_hash, 0, NULL, ZVAL_PTR_DTOR, 0); /* Start at the beginning of the input hash and copy entries to output hash until offset is reached */ |