Home > PHP > Function > FDF > fdf_error()

fdf_error()

fdf_error - Return error description for FDF error code

Syntax

string fdf_error (int $error_code)

Arguments

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

Description

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

Version

PHP 4.3.0, 5

Return value

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