Beispiel #1
0
 /**
  * @covers ByJG\Util\XmlUtil::xml2Array
  */
 public function testXml2Array2()
 {
     $xml = XmlUtil::createXmlDocumentFromStr('<root><node param="pval">value</node></root>');
     $array = XmlUtil::xml2Array($xml);
     $this->assertEquals(["node" => "value"], $array);
 }