Codice PHP:
$xmlstr = file_get_contents('https://quotes.instaforex.com/get_quotes.php?m=xml');
$xml = simplexml_load_string($xmlstr);
foreach($xml as $item) {
echo "Symbol: ".$item->symbol."
";
echo "Bid: ".$item->bid."
";
echo "Ask: ".$item->ask."
";
echo "Change: ".$item->change."
";
echo "Digits: ".$item->digits."
";
echo "Lasttime: ".$item->lasttime."
";
}