# ps_get_buffer

(PECL ps >= 1.1.0)

ps_get_buffer — Fetches the full buffer containig the generated PS data

### 说明

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.

Warning

本函数还未编写文档，仅有参数列表。

### 参数

`psdoc`

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

### 参见

- ps_open_file() - Opens a file for output