php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #72189 Missing CURL_VERSION_HTTP2 from constants list
Submitted: 2016-05-10 20:00 UTC Modified: 2021-03-15 18:10 UTC
Votes:8
Avg. Score:3.2 ± 0.7
Reproduced:1 of 2 (50.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: miken32 at gmail dot com Assigned: cmb (profile)
Status: Closed Package: cURL related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: miken32 at gmail dot com
New email:
PHP Version: OS:

 

 [2016-05-10 20:00 UTC] miken32 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/curl.constants
---

Constant CURL_VERSION_HTTP2 is not listed.

Also consider including a list of the relevant constants on http://www.php.net/curl_version


Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-05-10 20:05 UTC] miken32 at gmail dot com
cURL header file indicates the following feature testing constants, of which only 4 are listed at http://www.php.net/curl.constants

#define CURL_VERSION_IPV6         (1<<0)  /* IPv6-enabled */
#define CURL_VERSION_KERBEROS4    (1<<1)  /* Kerberos V4 auth is supported
                                             (deprecated) */
#define CURL_VERSION_SSL          (1<<2)  /* SSL options are present */
#define CURL_VERSION_LIBZ         (1<<3)  /* libz features are present */
#define CURL_VERSION_NTLM         (1<<4)  /* NTLM auth is supported */
#define CURL_VERSION_GSSNEGOTIATE (1<<5)  /* Negotiate auth is supported
                                             (deprecated) */
#define CURL_VERSION_DEBUG        (1<<6)  /* Built with debug capabilities */
#define CURL_VERSION_ASYNCHDNS    (1<<7)  /* Asynchronous DNS resolves */
#define CURL_VERSION_SPNEGO       (1<<8)  /* SPNEGO auth is supported */
#define CURL_VERSION_LARGEFILE    (1<<9)  /* Supports files larger than 2GB */
#define CURL_VERSION_IDN          (1<<10) /* Internationized Domain Names are
                                             supported */
#define CURL_VERSION_SSPI         (1<<11) /* Built against Windows SSPI */
#define CURL_VERSION_CONV         (1<<12) /* Character conversions supported */
#define CURL_VERSION_CURLDEBUG    (1<<13) /* Debug memory tracking supported */
#define CURL_VERSION_TLSAUTH_SRP  (1<<14) /* TLS-SRP auth is supported */
#define CURL_VERSION_NTLM_WB      (1<<15) /* NTLM delegation to winbind helper
                                             is suported */
#define CURL_VERSION_HTTP2        (1<<16) /* HTTP2 support built-in */
#define CURL_VERSION_GSSAPI       (1<<17) /* Built against a GSS-API library */
#define CURL_VERSION_KERBEROS5    (1<<18) /* Kerberos V5 auth is supported */
#define CURL_VERSION_UNIX_SOCKETS (1<<19) /* Unix domain sockets support */
#define CURL_VERSION_PSL          (1<<20) /* Mozilla's Public Suffix List, used
                                             for cookie domain verification */
 [2017-01-28 17:56 UTC] cmb@php.net
-Package: Documentation problem +Package: cURL related
 [2019-04-28 15:45 UTC]
The following pull request has been associated:

Patch Name: Fixed bug #72189 Add missing `CURL_VERSION_*` constants
On GitHub:  https://github.com/php/php-src/pull/4085
Patch:      https://github.com/php/php-src/pull/4085.patch
 [2019-04-28 23:29 UTC] carusogabriel@php.net
-Type: Documentation Problem +Type: Feature/Change Request
 [2019-04-28 23:29 UTC] carusogabriel@php.net
Changed to a FR as we don't have these constants in the source code.
 [2019-04-29 14:58 UTC] nikic@php.net
-Type: Feature/Change Request +Type: Documentation Problem
 [2019-04-29 14:58 UTC] nikic@php.net
Changing back to docs problem, as these constants were added in PHP 7.3, just need to be documented.
 [2019-04-29 17:54 UTC] phansys at gmail dot com
Constant added at https://github.com/php/php-src/commit/1badfd8171119ef70a5d088068b9de88ba668f73.
 [2021-03-15 18:10 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2021-03-15 18:13 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=3b792d800d248236a0ff0698c74dfeab75cffc92
Log: Fix #72189: Missing CURL_VERSION_HTTP2 from constants list
 [2021-03-15 18:13 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2021-03-18 17:25 UTC] mumumu@php.net
Automatic comment on behalf of mumumu@mumumu.org
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=f24a0a829768edb43b632a66cc2086de448b4cfe
Log: Fix #72189: Missing CURL_VERSION_HTTP2 from constants list
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 09 06:01:26 2024 UTC