Doc #65316 [Com]: Missing CURLOPT_IPRESOLVE option in the documentation
| From: | bart at cybox dot nl | Date: | Tue, 29 Oct 2013 10:48:41 +0000 |
| Subject: | Doc #65316 [Com]: Missing CURLOPT_IPRESOLVE option in the documentation | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10557@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65316&edit=1
ID: 65316
Comment by: bart at cybox dot nl
Reported by: benjamin dot morel at gmail dot com
Summary: Missing CURLOPT_IPRESOLVE option in the
documentation
Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
Assigned To: krakjoe
Block user comment: N
Private report: N
New Comment:
The CURLOPT_IPRESOLVE has been addded to the curl_setopt() documentation but the possible values are
incorrect!
It says: "possible values are CURLOPT_IPRESOLVE_WHATEVER, CURLOPT_IPRESOLVE_V4,
CURLOPT_IPRESOLVE_V6, by default CURLOPT_IPRESOLVE_WHATEVER."
These are incorrect, they are undefined.
Correct values are:
CURL_IPRESOLVE_WHATEVER, CURL_IPRESOLVE_V4, CURL_IPRESOLVE_V6
(So, as you can see, the prefixes to these constants are CURL_ not CURLOPT_)
Previous Comments:
------------------------------------------------------------------------
[2013-10-04 16:18:49] krakjoe@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
------------------------------------------------------------------------
[2013-10-04 16:18:40] krakjoe@php.net
Automatic comment from SVN on behalf of krakjoe
Revision: http://svn.php.net/viewvc/?view=revision&revision=331661
Log: fix #65316 additional info into curlopts
------------------------------------------------------------------------
[2013-07-23 15:57:06] benjamin dot morel at gmail dot com
Description:
------------
The doc page for curl_setopt():
http://php.net/manual/en/function.curl-setopt.php
Does not document the following entry: CURLOPT_IPRESOLVE, which can map to
CURL_IPRESOLVE_V4 or CURL_IPRESOLVE_V6, even though these 3 constants exist in
PHP, and work fine.
It would be nice to update the documentation to include these.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65316&edit=1