← All docs

xmlwriter_text()

Writes escaped text content.

xmlwriter_text()

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

Writes escaped text content.

Parameters:

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

Returns: bool

Availability

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

Internals

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