PS_DELETE(3) 1 PS_DELETE(3)
ps_delete - Deletes all resources of a PostScript document
SYNOPSIS
bool ps_delete (resource $psdoc)
DESCRIPTION
Mainly frees memory used by the document. Also closes a file, if it was not closed before with ps_close(3). You should in any case close
the file with ps_close(3) before, because ps_close(3) not just closes the file but also outputs a trailor containing PostScript comments
like the number of pages in the document and adding the bookmark hierarchy.
PARAMETERS
o $psdoc
- Resource identifier of the postscript file as returned by ps_new(3).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
ps_close(3).
PHP Documentation Group PS_DELETE(3)