Doc #65993 [Opn->Csd]: CURLOPT_IPRESOLVE options incorrect
| From: | krakjoe@php.net | Date: | Wed, 30 Oct 2013 06:43:23 +0000 |
| Subject: | Doc #65993 [Opn->Csd]: CURLOPT_IPRESOLVE options incorrect | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10563@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65993&edit=1
ID: 65993
Updated by: krakjoe@php.net
Reported by: bart at cybox dot nl
Summary: CURLOPT_IPRESOLVE options incorrect
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: krakjoe
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2013-10-30 06:43:00] krakjoe@php.net
Automatic comment from SVN on behalf of krakjoe
Revision: http://svn.php.net/viewvc/?view=revision&revision=332015
Log: #65993 fix incorrect curlopt info
------------------------------------------------------------------------
[2013-10-29 11:48:08] bart at cybox dot nl
Description:
------------
The documentation for curl_setopt() (http://php.net/manual/en/function.curl-setopt.php) states that
possible values for the option CURLOPT_IPRESOLVE are:
CURLOPT_IPRESOLVE_WHATEVER, CURLOPT_IPRESOLVE_V4, CURLOPT_IPRESOLVE_V6.
These are incorrect (undefined).
Correct values are:
CURL_IPRESOLVE_WHATEVER, CURL_IPRESOLVE_V4, CURL_IPRESOLVE_V6
(So as you can see the prefixes to these constants should be CURL_ not CURLOPT_)
In response to: https://bugs.php.net/bug.php?id=65316
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65993&edit=1