$baglan = file_get_contents("x.xml");
preg_match_all("#<ID>(.*?)</ID><Teams>(.*?)</Teams><Score>(.*?)</Score>#si",$baglan,$x);
print_r($x);