← All docs

xmlwriter_write_comment()

Writes a complete comment.

xmlwriter_write_comment()

function xmlwriter_write_comment(mixed $writer, string $content): bool

Writes a complete comment.

Parameters:

  • $writer (mixed)
  • $content (string)

Returns: bool

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how xmlwriter_write_comment is implemented in the compiler, see the internals page.