Doc #79105 [Ver->Csd]: curl_share_setopt incorrect argument type
| From: | cmb@php.net | Date: | Thu, 12 Mar 2020 15:39:15 +0000 |
| Subject: | Doc #79105 [Ver->Csd]: curl_share_setopt incorrect argument type | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17399@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79105&edit=1
ID: 79105
Updated by: cmb@php.net
Reported by: php dot net at chris dot cs278 dot org
Summary: curl_share_setopt incorrect argument type
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: cURL related
PHP Version: Irrelevant
Assigned To: cmb
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:
------------------------------------------------------------------------
[2020-03-12 15:38:50] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=349391
Log: Fix #79105: curl_share_setopt incorrect argument type
------------------------------------------------------------------------
[2020-01-12 16:42:45] php dot net at chris dot cs278 dot org
Description:
------------
---
From manual page: https://php.net/function.curl-share-setopt
---
The $value argument is documented as a string but the function is defined as accepting anything,
currently all the supported values are integers.
proto bool curl_share_setopt(resource sh, int option, mixed value)
https://github.com/php/php-src/blob/bbcfa66e06110d8256595e644378a5358dda3558/ext/curl/share.c#L90
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79105&edit=1