<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ## xml 可以生成或者解析xml [TOC] ### 生成xml格式 #### 簡單生成 ~~~ /** * 生成xml字符,不能分析復雜的XML數據比如有屬性的XML * * @param array $data * @param int $level * * @return string * @throws Exception */ public function toSimpleXml(array $data, $level = 0) Xml::toSimpleXml($data); ~~~ #### 生成復雜的xml 可以生成帶屬性的xml ~~~ /** * 數組轉為xml數據 * see website http://www.lalit.org/lab/convert-php-array-to-xml-with-attributes/ * @param $rootNode * @param $phpArray * * @return string */ public function toXml($rootNode, $phpArray) Xml::toXml('root', $data); ~~~ ### 解析xml #### 解析簡單的xml 不帶屬性的xml ~~~ /** * 將xml轉為array,不分析XML屬性等數據 * * @param $xml * * @return mixed * @throws \Exception */ public function toSimpleArray($xml) Xml::toSimpleArray($xml); ~~~ #### 解析復雜的xml 帶屬性的xml ~~~ /** * xml轉為數組 * * @param $xml * see website http://www.lalit.org/lab/convert-xml-to-array-in-php-xml2array/ * @return \DOMDocument * @throws Exception */ public function toArray($xml) Xml::toArray($xml); ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看