[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/curl/_constants.xml_functions/curl-getinfo.xml?=
From:       Christoph_Michael_Becker <cmb () php ! net>
Date:       2018-05-11 16:11:29
Message-ID: svn-cmb-1526055089-345002-1697639442 () svn ! php ! net
[Download RAW message or body]

cmb                                      Fri, 11 May 2018 16:11:29 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=345002

Log:
Fix #76328: Documentation of CURLINFO_HTTP_CODE as legacy

Bug: https://bugs.php.net/76328 (Verified) Documentation of CURLINFO_HTTP_CODE as legacy
      
Changed paths:
    U   phpdoc/en/trunk/reference/curl/constants.xml
    U   phpdoc/en/trunk/reference/curl/functions/curl-getinfo.xml

Modified: phpdoc/en/trunk/reference/curl/constants.xml
===================================================================
--- phpdoc/en/trunk/reference/curl/constants.xml	2018-05-11 09:03:04 UTC (rev 345001)
+++ phpdoc/en/trunk/reference/curl/constants.xml	2018-05-11 16:11:29 UTC (rev 345002)
@@ -1504,10 +1504,22 @@
    </term>
    <listitem>
     <simpara>
-
+     As of PHP 5.5.0 and cURL 7.10.8, this is a legacy alias of
+     <constant>CURLINFO_RESPONSE_CODE</constant>
     </simpara>
    </listitem>
   </varlistentry>
+  <varlistentry xml:id="constant.curlinfo-response-code">
+   <term>
+    <constant>CURLINFO_RESPONSE_CODE</constant>
+    (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     Available since PHP 5.5.0 and cURL 7.10.8
+    </simpara>
+   </listitem>
+  </varlistentry>
   <varlistentry xml:id="constant.curlinfo-header-out">
    <term>
     <constant>CURLINFO_HEADER_OUT</constant>

Modified: phpdoc/en/trunk/reference/curl/functions/curl-getinfo.xml
===================================================================
--- phpdoc/en/trunk/reference/curl/functions/curl-getinfo.xml	2018-05-11 09:03:04 UTC (rev 345001)
+++ phpdoc/en/trunk/reference/curl/functions/curl-getinfo.xml	2018-05-11 16:11:29 UTC (rev 345002)
@@ -36,7 +36,9 @@
         </listitem>
         <listitem>
          <simpara>
-          <constant>CURLINFO_HTTP_CODE</constant> - Last received HTTP code
+          <constant>CURLINFO_HTTP_CODE</constant> -  The last response code.
+          As of PHP 5.5.0 and cURL 7.10.8, this is a legacy alias of
+          <constant>CURLINFO_RESPONSE_CODE</constant>
          </simpara>
         </listitem>
         <listitem>



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic