php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #65993 CURLOPT_IPRESOLVE options incorrect
Submitted: 2013-10-29 11:48 UTC Modified: 2013-10-30 06:43 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: bart at cybox dot nl Assigned: krakjoe (profile)
Status: Closed Package: Documentation problem
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: bart at cybox dot nl
New email:
PHP Version: OS:

 

 [2013-10-29 11:48 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-30 06:43 UTC] 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-30 06:43 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2013-10-30 06:43 UTC] 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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 03:00:01 2026 UTC