Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7a63dcc

Browse files
Merge branch 'PHP-8.4'
* PHP-8.4: Fix more curl 8.16 issues
2 parents d9ca72f + 473ce44 commit 7a63dcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎ext/curl/interface.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1641,7 +1641,7 @@ static zend_result _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue
16411641
lval = zval_get_long(zvalue);
16421642
if (lval == 1) {
16431643
php_error_docref(NULL, E_NOTICE, "CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead");
1644-
error = curl_easy_setopt(ch->cp, option, 2);
1644+
error = curl_easy_setopt(ch->cp, option, 2L);
16451645
break;
16461646
}
16471647
ZEND_FALLTHROUGH;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /