original_string: public function parse($strinputxml) {
          $this->resparser = xml_parser_create ('UTF-8');
          xml_set_object($this->resparser, $this);
          xml_set_element_handler($this->resparser, "tagopen", "tagclosed");
  
          xml_set_character_data_handler($this->resparser, "tagdata");
  
          $this->strxmldata = xml_parse($this->resparser, $strinputxml );
          if (!$this->strxmldata) {
              die(sprintf("XML error: %s at line %d",
              xml_error_string(xml_get_error_code($this->resparser)),
              xml_get_current_line_number($this->resparser)));
          }
  
          xml_parser_free($this->resparser);
  
          return $this->arroutput;
      }
code: public function parse($strinputxml) {
          $this->resparser = xml_parser_create ('UTF-8');
          xml_set_object($this->resparser, $this);
          xml_set_element_handler($this->resparser, "tagopen", "tagclosed");
  
          xml_set_character_data_handler($this->resparser, "tagdata");
  
          $this->strxmldata = xml_parse($this->resparser, $strinputxml );
          if (!$this->strxmldata) {
              die(sprintf("XML error: %s at line %d",
              xml_error_string(xml_get_error_code($this->resparser)),
              xml_get_current_line_number($this->resparser)));
          }
  
          xml_parser_free($this->resparser);
  
          return $this->arroutput;
      }
code_tokens: public function parse ( $ strinputxml ) { $ this -> resparser = xml_parser_create ( 'UTF-8' ) ; xml_set_object ( $ this -> resparser , $ this ) ; xml_set_element_handler ( $ this -> resparser , "tagopen" , "tagclosed" ) ; xml_set_character_data_handler ( $ this -> resparser , "tagdata" ) ; $ this -> strxmldata = xml_parse ( $ this -> resparser , $ strinputxml ) ; if ( ! $ this -> strxmldata ) { die ( sprintf ( "XML error: %s at line %d" , xml_error_string ( xml_get_error_code ( $ this -> resparser ) ) , xml_get_current_line_number ( $ this -> resparser ) ) ) ; } xml_parser_free ( $ this -> resparser ) ; return $ this -> arroutput ; }
docstring: Parse an XML text string and create an array tree that rapresent the XML structure
  
  @param string $strinputxml The XML string
  @return array
docstring_tokens: Parse an XML text string and create an array tree that rapresent the XML structure