PEAR_XMLParser::parse

PEAR_XMLParser::parse()

PEAR_XMLParser::parse()  -- parse

Description

Return an array that matches the XML parsed. This code is lifted from Stephan Schmidt's XML_Unserializer class in the XML_Serializer package. As such, tags are represented by an associative array. Multiple tags are represented with a 0-based array of tag contents, and attributes are represented by an array index named attribs. If attributes are present, the array index _contents is used to hold the contents of the xml tag.

Parameter

string $data

xml content

Throws

throws no exceptions thrown

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.