(PHP 4 >= 4.0.0)
The function parses the XML document in str and returns a tree PHP objects as the parsed document.