mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.4'
* PHP-8.4: Fix more curl 8.16 issues
This commit is contained in:
@@ -1641,7 +1641,7 @@ static zend_result _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue
|
||||
lval = zval_get_long(zvalue);
|
||||
if (lval == 1) {
|
||||
php_error_docref(NULL, E_NOTICE, "CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead");
|
||||
error = curl_easy_setopt(ch->cp, option, 2);
|
||||
error = curl_easy_setopt(ch->cp, option, 2L);
|
||||
break;
|
||||
}
|
||||
ZEND_FALLTHROUGH;
|
||||
|
||||
Reference in New Issue
Block a user