Manual do PHP Referência das Funções Saída de MIME Não-Texto PDF PDF Funções PDF_get_errmsg PDF_get_buffer PDF_get_errnum PDF_get_errmsg (PECL pdflib >= 2.0.0)PDF_get_errmsg — Get error text Descrição string PDF_get_errmsg ( resource $pdfdoc ) Gets the text of the last thrown exception or the reason for a failed function call.