XMLWriter 函数
PHP 手册

XMLWriter::openURI

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

XMLWriter::openURICreate new xmlwriter using source uri for output

说明

Object oriented style:

XMLWriter
bool openURI ( string $uri )

Procedural style:

resource xmlwriter_open_uri ( string $uri )

Creates a new XMLWriter using uri for the output.

参数

uri

The URI of the resource for the 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 手册