← All docs

xmlwriter_write_cdata()

Writes a complete CDATA section.

xmlwriter_write_cdata()

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

Writes a complete CDATA section.

Parameters:

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

Returns: bool

Availability

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

Internals

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