php8.5
Home/ Manual/ ps / functions/ ps_get_buffer

ps_get_buffer

PHP function Edit on GitHub ✎

(PECL ps >= 1.1.0)

Fetches the full buffer containig the generated PS data

Description

ps_get_buffer(resource $psdoc): string

This function is not implemented yet. It will always return an empty string. The idea for a later implementation is to write the contents of the postscript file into an internal buffer if in memory creation is requested, and retrieve the buffer content with this function. Currently, documents created in memory are send to the browser without buffering.

Func

Parameters

psdoc

Resource identifier of the postscript file as returned by ps_new().

See Also

Source: reference/ps/functions/ps-get-buffer.xml · from the official PHP manual (php/doc-en)