pdf_close

Closes a pdf resource [deprecated] (PHP 3 >= 3.0.6, PHP 4, PECL)
bool pdf_close ( resource p )

Close the generated PDF file, and free all document-related resources. 如果成功则返回 TRUE,失败则返回 FALSE

This function is deprecated since PDFlib version 6, use pdf_end_document() instead.