PHP code example of frankperez87 / xml2array
1. Go to this page and download the library: Download frankperez87/xml2array library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
frankperez87 / xml2array example snippets
// Load in the composer autoloader file
.0" encoding="UTF-8"
Array
(
[url] => Array
(
[0] => Array
(
[loc] => http://www.google.com
[changefreq] => monthly
[priority] => 1
)
[1] => Array
(
[loc] => http://www.yahoo.com
[changefreq] => monthly
[priority] => 1
)
[2] => Array
(
[loc] => http://www.bing.com
[changefreq] => monthly
[priority] => 1
)
)
)