PDF Functions
PHP Manual

PDF_close

(PHP 4, PECL pdflib >= 1.0.0)

PDF_closeClose pdf resource [deprecated]

Description

bool PDF_close ( resource $p )

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.


PDF Functions
PHP Manual