← 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

Compiled (AOT)Magician (eval)
AvailableAvailable

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.