Func Curl_Errno
# PHP curl_errno Function
[ PHP cURL Reference](#)
(PHP 4 >= 4.0.3, PHP 5)
curl_errno β Returns the error number of the last cURL operation
* * *
## Description
int curl_errno ( resource $ch )
Returns the error number of the last cURL operation.
* * *
## Parameters
**ch**
A cURL handle returned by curl_init().
* * *
## Return Value
Returns the error number or 0 (zero) if no error occurred.
* * *
## Example
* * *
## See Also
- Returns a string containing the last error for the current session
* [Β»Curl Error Codes](http://curl.haxx.se/libcurl/c/libcurl-errors.html)
* * PHP cURL Reference](#)
YouTip