|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-12-07 14:16 UTC] cmb@php.net
-Type: Bug
+Type: Documentation Problem
[2020-12-07 14:16 UTC] cmb@php.net
[2020-12-07 14:19 UTC] kocsismate@php.net
-Status: Open
+Status: Not a bug
[2020-12-07 14:19 UTC] kocsismate@php.net
[2020-12-07 14:24 UTC] ricardo at banak dot com
[2020-12-07 14:24 UTC] cmb@php.net
-Status: Not a bug
+Status: Feedback
-Package: cURL related
+Package: Translation problem
-Assigned To:
+Assigned To: cmb
[2020-12-07 14:24 UTC] cmb@php.net
[2020-12-07 14:52 UTC] ricardo at banak dot com
-Status: Feedback
+Status: Assigned
[2020-12-07 14:52 UTC] ricardo at banak dot com
[2020-12-07 15:01 UTC] cmb@php.net
-Summary: curl_init() returns object instead of resource
+Summary: [ES] curl_init() returns object instead of resource
[2020-12-07 15:01 UTC] cmb@php.net
[2020-12-07 15:05 UTC] cmb@php.net
-Assigned To: cmb
+Assigned To:
[2021-02-03 18:18 UTC] julionc@php.net
-Assigned To:
+Assigned To: julionc
[2021-02-03 18:29 UTC] julionc@php.net
[2021-02-03 18:29 UTC] julionc@php.net
-Status: Assigned
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 17:00:01 2025 UTC |
Description: ------------ Documentation states curl_init() as: curl_init ([ string $url = NULL ] ) : resource but the result is an object, not a resource. Test script: --------------- $ch = curl_init(); if (is_object($ch)) { echo '$ch is an object'; } if (is_resource($ch)) { echo '$ch is a resource'; } Expected result: ---------------- Expected: $ch is a resource Currently: $ch is an object