xml_set_element_handler()
function xml_set_element_handler(mixed $parser, mixed $start_handler, mixed $end_handler): bool
Sets the start and end element handlers.
Parameters:
$parser(mixed)$start_handler(mixed)$end_handler(mixed)
Returns: bool
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/xml/xml_set_element_handler.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how xml_set_element_handler is implemented in the compiler, see the internals page.