← All docs
xml_set_start_namespace_decl_handler()
Sets the handler called when a namespace declaration starts.
xml_set_start_namespace_decl_handler()
function xml_set_start_namespace_decl_handler(mixed $parser, mixed $handler): bool
Sets the handler called when a namespace declaration starts.
Parameters:
$parser(mixed)$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_start_namespace_decl_handler.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how xml_set_start_namespace_decl_handler is implemented in the compiler, see the internals page.