[php-src] PR #15350: ext/curl: Add HTTP/3 constants
| From: | Ayesh | Date: | Sun, 11 Aug 2024 20:43:50 +0000 |
| Subject: | [php-src] PR #15350: ext/curl: Add HTTP/3 constants | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27859@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15350
Author: Ayesh
This intends to supersede the two following PRs:
- #12000 because it does not modify the stub file, but only update the arginfo file. It also
proposes to merge to GA branches, and is currently marked as Requires RM Approval.
- #12543 Essentially the same as this PR and from the same author, as this, but its about a year
old and requires rebasing anyway.
This adds the
CURL_HTTP_VERSION_3 and CURL_HTTP_VERSION_3ONLY constants on
relevant versions (7.66 and 7.88 respectively).
It is possible to use HTTP/3 without having these constants declared, but having them declared in
PHP makes things more approachable and "official".