summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-06-17 16:05:55 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-06-17 16:11:57 +0200
commitb516566b84c210ce6ceddeb238e45d4b1bcb32ce (patch)
tree353ab0f357eee9583aadf196688c382059568871 /UPGRADING
parent1e095e3412f0d8be5b245326b72e7ab82c553985 (diff)
downloadphp-git-b516566b84c210ce6ceddeb238e45d4b1bcb32ce.tar.gz
Convert CURL resources to objects
Closes GH-5402 Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING15
1 files changed, 15 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 7e8b5971ba..794b91f943 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -739,6 +739,21 @@ PHP 8.0 UPGRADE NOTES
- CURL:
. The CURL extension now requires at least libcurl 7.29.0.
+ . curl_init() will now return a CurlHandle object rather than a resource.
+ Return value checks using is_resource() should be replaced with
+ checks for `false`. The curl_close() function no longer has an effect,
+ instead the CurlHandle instance is automatically destroyed if it is no
+ longer referenced.
+ . curl_multi_init() will now return a CurlMultiHandle object rather than a
+ resource. Return value checks using is_resource() should be replaced with
+ checks for `false`. The curl_multi_close() function no longer has an effect,
+ instead the CurlMultiHandle instance is automatically destroyed if it is no
+ longer referenced.
+ . curl_share_init() will now return a CurlShareHandle object rather than a
+ resource. Return value checks using is_resource() should be replaced with
+ checks for `false`. The curl_share_close() function no longer has an effect,
+ instead the CurlShareHandle instance is automatically destroyed if it is no
+ longer referenced.
- Enchant:
. The enchant extension now uses libenchant-2 by default when available.