[GIT-PULLS] [php-src] PR #22908: Show curl option name in error message
[email protected] (Sjord) Tue, 28 Jul 2026 12:15:03 +0000
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <507bbidGK4JfQwMpk5GLJTInbrYP0lLdiAmaOFYG08M@main.internal.php.net> |
Pull Request: https://github.com/php/php-src/pull/22908 Author: Sjord Retrieve the option name by using curl_easy_option_by_id or by walking zend_constants, depending on whether the curl version used has curl_easy_option_by_id. Showing the option name is especially useful when using curl_setopt_array. A user may specify many options, and this change makes it clear which option is wrong exactly. Related to https://github.com/php/php-src/issues/10097, https://github.com/php/php-src/pull/22705.