Commit graph

330 commits

Author SHA1 Message Date
Christoph Michael Becker
5f8047c12b Document new opaque classes which replace resources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351932 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 22:11:40 +00:00
Christoph Michael Becker
e41806c30b Revert revision(s) 351724 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Jakub Vrana
c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
Christoph Michael Becker
db870c9481 curl_file_create() is not a method of CURLFile
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351642 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 13:30:11 +00:00
Christoph Michael Becker
21e403e4b4 Remove CURLFile::__wakeup from versions.xml
Cf. <http://svn.php.net/viewvc?view=revision&revision=351623>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351639 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 12:43:08 +00:00
Christoph Michael Becker
24a693e9a4 Fix parameter name
Cf. <https://github.com/php/php-src/pull/6435>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351624 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 01:31:30 +00:00
Christoph Michael Becker
865da51efb Remove confusing CURLFile::__wakeup() page
A respective note on the class page appears to be more appropriate.
Cf. <https://github.com/php/doc-en/pull/231>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351623 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 01:21:44 +00:00
Christoph Michael Becker
b7f8c11e56 Generate curl methodsynopses based on stubs
Amended by cmb.

Closes GH-231.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351621 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 00:58:58 +00:00
Christoph Michael Becker
b39b2fcb92 Remove obsolete PHP 5 specific info regarding cURL file uploads
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351291 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-07 14:33:22 +00:00
Christoph Michael Becker
b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker
86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
dec1f8445a Remove safe_mode related information
Sorry, translators, for breaking your builds again.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350871 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-13 22:07:26 +00:00
Christoph Michael Becker
9af43469f4 Remove more changelog entries, mostly from PHP 5.2 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Christoph Michael Becker
be5b0f33a1 Remove more changelog entries, mostly from PHP 5.1 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350653 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:45:57 +00:00
Christoph Michael Becker
53bdffa6b9 Removed some of the PHP5 changelogs
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350645 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 12:32:19 +00:00
Christoph Michael Becker
e020f80412 fix ugly bug in sample code
imagine if 2 handles finish in the same multi_exec(), before exec() $active is 2 and after the call $active is 0, then we read the first message, and the the message from the 2nd handle will be lost/ignored!

this has caused real bugs in the wild, see https://stackoverflow.com/questions/61920359/count-how-many-curl-multi-requests-have-been-made/61923372

Patch provided by divinity76.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349952 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-21 09:35:34 +00:00
Christoph Michael Becker
aebf045bfb Fix miscellaneous typos
Detected by codespell

Patch provided by tandre@php.net.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349708 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-27 06:43:55 +00:00
Christoph Michael Becker
67e6fdb205 Document missing CURLOPT_HTTP_VERSION values
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349505 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-20 15:10:04 +00:00
Christoph Michael Becker
d3c48b9ae3 Properly mark up constants as such
While these constants are supposed to be passed as argument, they are not
parameters per se.  Furthermore, parameters are linked to their declaration
in the PHP rendered version at least, and since there is no declaration,
the links are most useless.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349504 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-20 15:07:42 +00:00
Christoph Michael Becker
7cca6df586 Add initializers for procedural APIs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349453 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-15 09:21:15 +00:00
Sherif Ramadan
f12adb7d02 Fix broken build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349411 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-13 18:32:58 +00:00
Sherif Ramadan
c136f24535 Fix bug #79378 - Uploading multiple files with CURLFile is not documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349410 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-13 18:21:35 +00:00
Christoph Michael Becker
916268236f Document CURLOPT_COOKIELIST on constants page as well
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349397 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 17:20:13 +00:00
Christoph Michael Becker
12bae73457 Fix #72611: CURLOPT_TCP_KEEPALIVE missing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349396 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 17:08:49 +00:00
Christoph Michael Becker
39ed941a15 Fix #77792: CURLOPT_SSLCERTTYPE support P12(pfx) certificate
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349395 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 16:12:54 +00:00
Christoph Michael Becker
a8356baaf4 Fix #78367: missing CURL_SSLVERSION_MAX_xxx
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349394 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 16:07:42 +00:00
Christoph Michael Becker
5d93330c9b Fix #78435: Missing CURLOPT_COOKIELIST in doc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349393 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 15:52:53 +00:00
Christoph Michael Becker
46b3f856ba Fix #79105: curl_share_setopt incorrect argument type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349391 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 15:38:49 +00:00
Christoph Michael Becker
55640d87ac Document CURLFile property types and constructor defaults
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349387 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 08:55:43 +00:00
Christoph Michael Becker
9e8923833c Fix the table of integer values on setopt page
Patch provided by Ekin.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349197 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-10 14:30:32 +00:00
Christoph Michael Becker
e6dfcca365 Fix changelog order
Should always be from in reverse chronological order.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349186 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-09 10:48:36 +00:00
Nikita Popov
e5731b4787 Document missing curl constants added in 7.3.x
Patch by ekinhbayar.

Closes php/doc-en#27.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349125 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-05 08:54:11 +00:00
Nikita Popov
ec67793395 Fixes #79186
Patch by ekinhbayar.

Closes php/doc-en#28.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349069 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-30 14:45:43 +00:00
Christoph Michael Becker
162080c9d0 Document CURLOPT_HTTP09_ALLOWED
Cf. <https://github.com/php/php-src/pull/5114>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349025 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-26 13:42:43 +00:00
Christoph Michael Becker
25cfe14df1 Fix #79097: CURLOPT_HTTP_CONTENT_DECODING is not documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348881 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-12 10:11:39 +00:00
George Peter Banyard
217fa0d006 add a check for curl_error and write error to file
-- 
Provided by anonymous 101037 (tiffany.k.taylor@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348426 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-04 10:44:47 +00:00
Christoph Michael Becker
6c9c135b41 Fix URL
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347496 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-27 13:57:18 +00:00
Christoph Michael Becker
3672e4f13d Update and clarify CURLMOPT_PIPELINING docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347375 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-03 13:55:31 +00:00
Christoph Michael Becker
2ac54492e8 Document new curl constants
Cf. <http://git.php.net/?p=php-src.git;a=commitdiff;h=6b73e692c976bdfdc710741cd983a9b33c13b3e7>

Based on a patch provided by Javier Spagnoletti.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347367 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-02 14:19:12 +00:00
Christoph Michael Becker
9e656ec06a Add missing CURL constant
Based on a patch provided by Javier Spagnoletti.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347362 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-30 11:52:28 +00:00
George Peter Banyard
0b3846c465 Nitpick, "etc." and "..." are equivalent using "etc..." is as saying "Et cetera Et cetera"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347154 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-05 20:07:42 +00:00
Sara Golemon
38842fa7dc Clarify that non-thread safe setting CURLOPT_DNS_USE_GLOBAL_CACHE is only enabled when it makes sense.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347135 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-04 14:04:02 +00:00
Christoph Michael Becker
a1be033c9b Remove PHP 4 related info
Also, it appears that the curlwrappers never made it to PECL.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346948 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-01 18:32:27 +00:00
Peter Cowburn
e16c1b4587 improve curl_multi_exec() loops (doc #77682)
curl_multi_exec() hasn't returned CURLM_CALL_MULTI_PERFORM for a loooong
time (it stopped doing so as of libcurl 7.20.0, which was released on
Feb 9 2010).

Thanks to Daniel Stenberg for the details.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346933 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-28 22:00:16 +00:00
Christoph Michael Becker
82c8243cae List new cURL constants
Cf. <https://github.com/php/php-src/pull/3541>.

Based on a patch provided by neranjan125@gmail.com.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345772 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-04 10:03:02 +00:00
Pasindu De Silva
5185cf5017 Added CURLOPT_REQUEST_TARGET constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345704 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-28 03:49:05 +00:00
Christoph Michael Becker
5e61ab9824 Fix #76649: cURL module requires libssh2.dll
This also integrates the user notes 115953, 116019, 121543 and 122442.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345565 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-29 15:12:16 +00:00
Christoph Michael Becker
91bd082167 Fix #76328: Documentation of CURLINFO_HTTP_CODE as legacy
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345002 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-11 16:11:29 +00:00
Christoph Michael Becker
30dd50ff89 The DLLs are renamed as of OpenSSL 1.1
Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344987 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 13:54:14 +00:00
Christoph Michael Becker
96714651c2 Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344978 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 11:38:46 +00:00