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