xml_parser_free()
function xml_parser_free(mixed $parser): bool
Frees an XML parser; a no-op kept for compatibility.
Parameters:
$parser(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_free.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how xml_parser_free is implemented in the compiler, see the internals page.