PDF 函数
PHP Manual

PDF_end_document

(PECL pdflib >= 2.0.0)

PDF_end_documentClose PDF file

说明

bool PDF_end_document ( resource $pdfdoc , string $optlist )

Closes the generated PDF file and applies various options.


PDF 函数
PHP Manual