xml_parser_set_option()
function xml_parser_set_option(mixed $parser, int $option, mixed $value): bool
Sets an XML_OPTION_* parser option.
Parameters:
$parser(mixed)$option(int)$value(mixed)
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/xml_parser_set_option.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how xml_parser_set_option is implemented in the compiler, see the internals page.