curl_setopt missing error/exception documentation
Open
Nobody has claimed this yet.
bug
Extension: curl
good first issue
Status: Verified
- Dominant language
- XML
- Stars
- 596
- Forks
- 890
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 55
Description
The pages for curl_setopt and curl_setopt_array are missing error/exception information and a changelog. Prior to PHP 8, curl_setopt used to throw warnings for invalid cURL options. Since PHP 8, the functions now raise ValueErrors (php/php-src#5963).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the documentation pages for curl_setopt and curl_setopt_array and compare their existing error and changelog sections. Document the pre-PHP 8 warning behavior and the PHP 8 ValueError behavior, then verify that both pages describe the change consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100