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
- Compiled (AOT): supported through an injected elephc-PHP prelude.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/xml/xmlwriter_set_indent_string.rs).
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.