XMLWriter 函数
PHP 手册

XMLWriter::openMemory

(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)

XMLWriter::openMemoryCreate new xmlwriter using memory for string output

说明

Object oriented style:

XMLWriter
bool openMemory ( void )

Procedural style:

resource xmlwriter_open_memory ( void )

Creates a new XMLWriter using memory for string output.

参数

返回值

Object oriented style: 如果成功则返回 TRUE,失败则返回 FALSE

Procedural style: Returns a new xmlwriter resource for later use with the xmlwriter functions on success, FALSE on error.

参见


XMLWriter 函数
PHP 手册