We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7db065a commit d45ad56Copy full SHA for d45ad56
ext/curl/share.c
@@ -237,7 +237,7 @@ PHP_FUNCTION(curl_share_init_persistent)
237
238
// Apply the options property to the handle. We avoid using $share_opts as zval_get_long may not necessarily return
239
// the same value as it did in the initial ZEND_HASH_FOREACH_VAL above.
240
- ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(&share_opts_prop), share_opts_entry) {
+ ZEND_HASH_PACKED_FOREACH_VAL(Z_ARRVAL_P(&share_opts_prop), share_opts_entry) {
241
CURLSHcode curlsh_error = curl_share_setopt(sh->share, CURLSHOPT_SHARE, Z_LVAL_P(share_opts_entry));
242
243
if (curlsh_error != CURLSHE_OK) {
0 commit comments