svn: /phpdoc/en/trunk/reference/curl/functions/ curl-getinfo.xml
| From: | Christoph Michael Becker | Date: | Tue, 21 Jun 2016 20:45:47 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/curl/functions/ curl-getinfo.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14228@lists.php.net to get a copy of this message | ||
cmb Tue, 21 Jun 2016 20:45:47 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339443
Log:
Fix #64798: curl_getinfo does not return info array if $opt = 0
Actually, $opt has no default value!
Bug: https://bugs.php.net/64798 (Open) curl_getinfo does
not return info array if $opt = 0
Changed paths:
U phpdoc/en/trunk/reference/curl/functions/curl-getinfo.xml
Modified: phpdoc/en/trunk/reference/curl/functions/curl-getinfo.xml
===================================================================
--- phpdoc/en/trunk/reference/curl/functions/curl-getinfo.xml 2016-06-21 20:32:08 UTC (rev 339442)
+++ phpdoc/en/trunk/reference/curl/functions/curl-getinfo.xml 2016-06-21 20:45:47 UTC (rev 339443)
@@ -11,7 +11,7 @@
<methodsynopsis>
<type>mixed</type><methodname>curl_getinfo</methodname>
<methodparam><type>resource</type><parameter>ch</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>opt</parameter><initializer>0</initializer></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>opt</parameter></methodparam>
</methodsynopsis>
<para>
Gets information about the last transfer.