PDF_get_errmsg

(PECL pdflib >= 2.0.0)

PDF_get_errmsgGet error text

说明

PDF_get_errmsg ( resource $pdfdoc ) : string

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