mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
MFB: Fixed Bug #44191 (preg_grep messes up array index)
This commit is contained in:
parent
d427b55b1a
commit
bc8a62f4b1
@ -1771,7 +1771,7 @@ PHPAPI void php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval *return
|
||||
|
||||
zend_hash_move_forward(Z_ARRVAL_P(input));
|
||||
}
|
||||
|
||||
zend_hash_internal_pointer_reset(Z_ARRVAL_P(input));
|
||||
/* Clean up */
|
||||
efree(offsets);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user