XMLWriter::writePi
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)
Writes a PI
Description
Oop
XMLWriter::writePi(string $target, string $content): bool
Procedural
xmlwriter_write_pi(XMLWriter $writer, string $target, string $content): bool
Writes a processing instruction.
Parameters
targetThe target of the processing instruction.
contentThe content of the processing instruction.
Return Values
Success
Changelog
| Version | Description |
|---|
See Also
XMLWriter::startPiXMLWriter::endPi