com php-src: It's packed array: ext/standard/array.c

From: Date: Wed, 03 Aug 2016 04:37:14 +0000
Subject: com php-src: It's packed array: ext/standard/array.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-93549@lists.php.net to get a copy of this message
Commit: 6d1f473247742ca828e4f5480257d1ee03c03b23 Author: Xinchen Hui <laruence@gmail.com> Wed, 3 Aug 2016 12:37:14 +0800 Parents: be00b4ed13819b464f77c6dc6f72734f34e5bcc6 Branches: PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6d1f473247742ca828e4f5480257d1ee03c03b23 Log: It's packed array Changed paths: M ext/standard/array.c Diff: diff --git a/ext/standard/array.c b/ext/standard/array.c index d07e8c6..e67293b 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -3746,7 +3746,7 @@ PHP_FUNCTION(array_pad) } ZEND_HASH_FILL_PACKED(Z_ARRVAL_P(return_value)) { - ZEND_HASH_FOREACH_VAL_IND(Z_ARRVAL_P(input), value) { + ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(input), value) { Z_TRY_ADDREF_P(value); ZEND_HASH_FILL_ADD(value); } ZEND_HASH_FOREACH_END();

« previous php.cvs (#93549) next »