$rest_urls = 'https://en.wikipedia.org/w/api.php?action=opensearch&search=test&limit=10&namespace=0&format=xml';
$xml_responses = file_get_contents($rest_urls);
$xml_records = simplexml_load_string($xml_responses);
$i = 0;
$Text = $xml_records->Section->Item[$i]->Text;
$Url = $xml_records->Section->Item[$i]->Url;
$Description = $xml_records->Section->Item[$i]->Description;
$i++;
echo 'Text:'.$Text.'<br/>';
echo 'Url:'.$Url.'<br/>';
echo 'Description:'.$Description.'<br/>';
Не совсем силен в php ((( Сколько не пытался, выводит только первый результат