php / php/doc-en

curl_setopt missing error/exception documentation

Open
#3,119 3 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.