Closed banakito closed 3 years ago
Thanks for your contribution. This change does however break the client class for all PHP versions lower than 8 which isn't a good idea :wink:
Instead, I'll change that statement to test for either an object or a resource. Will be included with the next release.
Thanks for your contribution. This change does however break the client class for all PHP versions lower than 8 which isn't a good idea 😉
Well, it's working for me also in version 7 :) But, yes, your solution seems safer.
FYI; I quickly tested this on 7.2.5.
FYI; I quickly tested this on 7.2.5.
You are correct. I'm in 7.4 but maybe i've mismatched something.
Thank you.
Thanks, NP.
Merged with 1.1.62
in PHP 8.0 curl_init() do not return a resource but a CurlHandle object As a workaround, check for object instead of resource in get_curl_resource()