xml_parse_into_struct

xml_parse_into_struct

(PHP 4, PHP 5, PHP 7)

xml_parse_into_structParse XML data into an array structure

Description

int xml_parse_into_struct ( resource $parser , string $data , array &$values [, array &$index ] )

This function parses an XML string into 2 parallel array structures, one (index) containing pointers to the location of the appropriate values in the values array. These last two parameters must be passed by reference.