XMLWriter::writeComment
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)
Write full comment tag
Description
Oop
XMLWriter::writeComment(string $content): bool
Procedural
xmlwriter_write_comment(XMLWriter $writer, string $content): bool
Writes a full comment.
Parameters
contentThe contents of the comment.
Return Values
Success
Changelog
| Version | Description |
|---|
See Also
XMLWriter::startCommentXMLWriter::endComment