PDF_close

(PHP 4, PECL pdflib >= 1.0.0)

PDF_closeClose pdf resource [deprecated]

Description

PDF_close ( resource $p ) : bool

Closes the generated PDF file, and frees all document-related resources. Returns TRUE on success or FALSE on failure.

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