XMLWriter::writePI()
XMLWriter::writePI - Writes a PI
Syntax
bool XMLWriter::writePI (
string $target,
string $content,
resource $xmlwriter,
string $target,
string $content,
string $target,
string $content,
resource $xmlwriter,
string $target,
string $content)
Arguments
- target - Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_uri() or xmlwriter_open_memory().
- content - The target of the processing instruction.
- xmlwriter - The content of the processing instruction.
- target
- content
- target - Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_uri() or xmlwriter_open_memory().
- content - The target of the processing instruction.
- xmlwriter - The content of the processing instruction.
- target
- content
Description
Object oriented style
Version
PHP 5.1.2, PECL xmlwriter >= 0.1.0
Return value
Returns TRUE on success or FALSE on failure.