PDF_get_errnum

(PECL pdflib >= 2.0.0)

PDF_get_errnumGet error number

Description

PDF_get_errnum ( resource $pdfdoc ) : int

Gets the number of the last thrown exception or the reason for a failed function call.