XMLWriter::openURI

(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0)
Create new xmlwriter using source uri for output
bool XMLWriter::openURI ( string $uri )

Object oriented style

Procedural style

resource xmlwriter_open_uri ( string $uri )

Creates a new XMLWriter using uri for the output.

Parameters:
uri

The URI of the resource for the output.

Returns:

Object oriented style: Returns TRUE on success or FALSE on failure.

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

See also:

XMLWriter::openMemory() -

doc_php
2016-02-24 16:15:30
Comments
Leave a Comment

Please login to continue.