php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #69358
Patch CURLINFO revision 2015-04-03 15:47 UTC by cmb@php.net

Patch CURLINFO for Documentation problem Bug #69358

Patch version 2015-04-03 15:47 UTC

Return to Bug #69358 | Download this patch
Patch Revisions:

Developer: cmb@php.net

Index: reference/curl/constants.xml
===================================================================
--- reference/curl/constants.xml	(revision 336342)
+++ reference/curl/constants.xml	(working copy)
@@ -1640,6 +1640,61 @@
     </simpara>
    </listitem>
   </varlistentry>
+  <varlistentry xml:id="constant.curlinfo-redirect-url">
+   <term>
+    <constant>CURLINFO_REDIRECT_URL</constant>
+    (<type>string</type>)
+   </term>
+   <listitem>
+    <simpara>
+     Available since PHP 5.3.7
+    </simpara>
+   </listitem>
+  </varlistentry>
+  <varlistentry xml:id="constant.curlinfo-primary-ip">
+   <term>
+    <constant>CURLINFO_PRIMARY_IP</constant>
+    (<type>string</type>)
+   </term>
+   <listitem>
+    <simpara>
+     Available since PHP 5.4.7
+    </simpara>
+   </listitem>
+  </varlistentry>
+  <varlistentry xml:id="constant.curlinfo-primary-port">
+   <term>
+    <constant>CURLINFO_PRIMARY_PORT</constant>
+    (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     Available since PHP 5.4.7
+    </simpara>
+   </listitem>
+  </varlistentry>
+  <varlistentry xml:id="constant.curlinfo-local-ip">
+   <term>
+    <constant>CURLINFO_LOCAL_IP</constant>
+    (<type>string</type>)
+   </term>
+   <listitem>
+    <simpara>
+     Available since PHP 5.4.7
+    </simpara>
+   </listitem>
+  </varlistentry>
+  <varlistentry xml:id="constant.curlinfo-local-port">
+   <term>
+    <constant>CURLINFO_LOCAL_PORT</constant>
+    (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     Available since PHP 5.4.7
+    </simpara>
+   </listitem>
+  </varlistentry>
   <varlistentry xml:id="constant.curl-timecond-ifmodsince">
    <term>
     <constant>CURL_TIMECOND_IFMODSINCE</constant>
Index: reference/curl/functions/curl-getinfo.xml
===================================================================
--- reference/curl/functions/curl-getinfo.xml	(revision 336342)
+++ reference/curl/functions/curl-getinfo.xml	(working copy)
@@ -335,6 +335,15 @@
      </thead>
      <tbody>
       <row>
+       <entry>5.4.7</entry>
+       <entry>
+        Introduced <constant>CURLINFO_PRIMARY_IP</constant>,
+        <constant>CURLINFO_PRIMARY_PORT</constant>,
+        <constant>CURLINFO_LOCAL_IP</constant> and
+        <constant>CURLINFO_LOCAL_PORT</constant>.
+       </entry>
+      </row>
+      <row>
        <entry>5.3.7</entry>
        <entry>
         Introduced <constant>CURLINFO_REDIRECT_URL</constant>.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 06:00:01 2026 UTC