diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-06-17 16:05:55 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-06-17 16:11:57 +0200 |
commit | b516566b84c210ce6ceddeb238e45d4b1bcb32ce (patch) | |
tree | 353ab0f357eee9583aadf196688c382059568871 /UPGRADING | |
parent | 1e095e3412f0d8be5b245326b72e7ab82c553985 (diff) | |
download | php-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-- | UPGRADING | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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. |