Skip to content

Commit

Permalink
ext/curl: Add all missing CURLE constants up to Curl 8.6
Browse files Browse the repository at this point in the history
ext/curl now requires libcurl 7.61.0, which means a lot of CURL* constants can be re-organized.

This commit re-arranges all of the CURLE_* constants to a single part of the `curl.stub.php` file,
and rearranges them to match the order of the error constants in the libcurl documentation[^1].

Constants that are deprecated[^2] are moved shifted to the end of the `CURLE_*` constants list.

1: https://curl.se/libcurl/c/libcurl-errors.html
2: https://curl.se/libcurl/c/symbols-in-versions.html

Related: php#12000, php#13259, php#13209, php#13282
  • Loading branch information
Ayesh committed Feb 6, 2024
1 parent 7aa2b62 commit f86f1e5
Show file tree
Hide file tree
Showing 3 changed files with 1,881 additions and 1,409 deletions.

0 comments on commit f86f1e5

Please sign in to comment.