Php/docs/function.fdf-error

From Get docs

fdf_error

(PHP 4 >= 4.3.0, PHP 5 < 5.3.0, PECL fdf SVN)

fdf_errorReturn error description for FDF error code


Description

fdf_error ([ int $error_code = -1 ] ) : string

Gets a textual description for the FDF error code given in error_code.


Parameters

error_code
An error code obtained with fdf_errno(). If not provided, this function uses the internal error code set by the last operation.


Return Values

Returns the error message as a string, or the string no error if nothing went wrong.


See Also