-
Couldn't load subscription status.
- Fork 8k
Request #72189 Add missing CURL_VERSION_* constants
#4093
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d97ed06 to
3f51936
Compare
CURL_VERSION_* and CURLVERSION_* constantsCURL_VERSION_* constants
e18cf53 to
598ca5f
Compare
|
I believe we should update Line 539 in 572218d
|
ext/curl/interface.c
Outdated
| REGISTER_CURL_CONSTANT(CURL_VERSION_SSPI); | ||
|
|
||
| #if LIBCURL_VERSION_NUM >= 0x071306 /* Available since 7.19.6 */ | ||
| REGISTER_CURL_CONSTANT(CURL_VERSION_CURLDEBUG); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As this is an old constant, I wonder if it was omitted intentionally. The curl docs do say "This is mainly of interest for libcurl hackers". But I don't see any particular problem with exposing it either...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @bagder for thoughts about exposing it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's indeed part of the public API, exposed to the world just like the other bits there so I have no objections.
If it actually is useful to anyone is another matter...
|
Merged as 6b73e69 into 7.3+. Thanks! |
* PHP-7.3: Update `NEWS` with changes made at #4093
* PHP-7.4: Update `NEWS` with changes made at #4093
TODO:
sync-constants.php;Relates to request #72189.