PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0
XMLWriter::openUri - Create new xmlwriter using source uri for output
XMLWriter::openUri( string$uri ): public bool
Procedural styleXMLWriterfalsexmlwriter_open_uri stringuri
The URI of the resource for the output.
Object-oriented style: Returns true on success or false on failure.
Procedural style: Returns a new XMLWriter instance for later use with the xmlwriter functions on success, or false on failure.
On Windows, files opened with this function are locked until the writer is released.
|8.0.0||This function returns now an XMLWriter instance on success. Previouly, a resource has been returned in this case.|
Show all examples for XMLWriter::openUri