Doc #80491 [Asn]: [ES] curl_init() returns object instead of resource
| From: | cmb@php.net | Date: | Mon, 07 Dec 2020 15:01:33 +0000 |
| Subject: | Doc #80491 [Asn]: [ES] curl_init() returns object instead of resource | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-18212@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80491&edit=1
ID: 80491
Updated by: cmb@php.net
Reported by: ricardo at banak dot com
-Summary: curl_init() returns object instead of resource
+Summary: [ES] curl_init() returns object instead of resource
Status: Assigned
Type: Documentation Problem
Package: Translation problem
Operating System: Centos 7.9.2009
PHP Version: 8.0.0
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Thanks for the swift reply.
Previous Comments:
------------------------------------------------------------------------
[2020-12-07 14:52:32] ricardo at banak dot com
That's correct.
Spanish here.
------------------------------------------------------------------------
[2020-12-07 14:24:41] cmb@php.net
Well, EN docs have already been updated, so this is likely about a
translation. Which one?
------------------------------------------------------------------------
[2020-12-07 14:24:40] ricardo at banak dot com
Sorry, my bad.
Therefore is a documentation issue.
Thank you both.
------------------------------------------------------------------------
[2020-12-07 14:19:17] kocsismate@php.net
It is the result of an intentional change: https://php.watch/versions/8.0/resource-CurlHandle
(but I could have linked the related upgrading note).
Please note that PHP 8.0 migrated quite a few other resources to objects as well. You can refer to
the documentation or https://github.com/php/php-tasks/issues/6 for
more information.
------------------------------------------------------------------------
[2020-12-07 14:16:53] cmb@php.net
That is a deliberate change[1].
[1] <https://www.php.net/manual/en/migration80.incompatible.php#migration80.incompatible.resource2object>
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=80491
--
Edit this bug report at https://bugs.php.net/bug.php?id=80491&edit=1