xml_set_object()
function xml_set_object(mixed $parser, mixed $object): bool
Binds an object whose methods are looked up for string handler names.
Parameters:
$parser(mixed)$object(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_set_object.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how xml_set_object is implemented in the compiler, see the internals page.