curl_error

PHP 4 >= 4.0.3, PHP 5, PHP 7, PHP 8
curl_error - Return a string containing the last error for the current session
Manual
Code Examples

Example #1 curl_error example

PHP Version: