Skip to content

Commit

Permalink
It's packed array
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Aug 3, 2016
1 parent be00b4e commit 6d1f473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/standard/array.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6d1f473

Please sign in to comment.