← All docs

xmlwriter_set_indent_string()

Sets the string used for one indentation level.

xmlwriter_set_indent_string()

function xmlwriter_set_indent_string(mixed $writer, string $indentation): bool

Sets the string used for one indentation level.

Parameters:

  • $writer (mixed)
  • $indentation (string)

Returns: bool

Availability

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

Internals

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