Home > PHP > Function > PDF > PDF_close_pdi()

PDF_close_pdi()

PDF_close_pdi - Close the input PDF document [deprecated]

Syntax

bool PDF_close_pdi (resource $p, int $doc)

Arguments

  • p - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • doc - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().

Description

Closes all open page handles, and closes the input PDF document. Returns TRUE on success or FALSE on failure.

Version

PHP 4.0.5, PECL pdflib >= 1.0.0

Return value