| title | xml_parse_into_struct() |
|---|---|
| description | Parses a whole XML document into an array of tag structures and an index by tag name. |
function xml_parse_into_struct(mixed $parser, string $data, mixed $values, mixed $index = null): intParses a whole XML document into an array of tag structures and an index by tag name.
Parameters:
$parser(mixed)$data(string)$values(mixed), passed by reference$index(mixed), passed by reference, defaultnull, optional
Returns: int
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
For how xml_parse_into_struct is implemented in the compiler, see the internals page.