PDF_close_pdi
PDF_closepath_fill_stroke
PDF Functions
PHP Manual

# PDF_close

(PHP 4, PECL pdflib >= 1.0.0)

PDF_close — Close 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_close_pdi
PDF_closepath_fill_stroke
PDF Functions
PHP Manual