<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.uri-whatwg-url.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'pt_BR',
  ),
  'this' => 
  array (
    0 => 'uri-whatwg-url.getunicodehost.php',
    1 => 'Uri\\WhatWg\\Url::getUnicodeHost',
    2 => 'Obt&eacute;m o componente host como uma string Unicode',
  ),
  'up' => 
  array (
    0 => 'class.uri-whatwg-url.php',
    1 => 'Uri\\WhatWg\\Url',
  ),
  'prev' => 
  array (
    0 => 'uri-whatwg-url.getscheme.php',
    1 => 'Uri\\WhatWg\\Url::getScheme',
  ),
  'next' => 
  array (
    0 => 'uri-whatwg-url.getusername.php',
    1 => 'Uri\\WhatWg\\Url::getUsername',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'pt_BR',
    'path' => 'reference/uri/uri/whatwg/url/getunicodehost.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="uri-whatwg-url.getunicodehost" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Uri\WhatWg\Url::getUnicodeHost</h1>
  <p class="verinfo">(PHP 8 &gt;= 8.5.0)</p><p class="refpurpose"><span class="refname">Uri\WhatWg\Url::getUnicodeHost</span> &mdash; <span class="dc-title">Obtém o componente host como uma <span class="type"><a href="language.types.string.php" class="type string">string</a></span> Unicode</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-uri-whatwg-url.getunicodehost-description">
  <h3 class="title">Descrição</h3>
  <div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>Uri\WhatWg\Url::getUnicodeHost</strong></span>(): <span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span></div>

  <p class="simpara">
   Obtém o componente host como uma <span class="type"><a href="language.types.string.php" class="type string">string</a></span>, que pode conter caracteres Unicode.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-uri-whatwg-url.getunicodehost-parameters">
  <h3 class="title">Parâmetros</h3>
  <p class="para">Esta função não possui parâmetros.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-uri-whatwg-url.getunicodehost-returnvalues">
  <h3 class="title">Valor Retornado</h3>
  <p class="simpara">
   Retorna o componente host como uma <span class="type"><a href="language.types.string.php" class="type string">string</a></span> Unicode se o componente host existir, <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> é retornado caso contrário.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-uri-whatwg-url.getunicodehost-examples">
  <h3 class="title">Exemplos</h3>
  <div class="example" id="uri-whatwg-url.getunicodehost.example.basic">
   <p><strong>Exemplo #1 Exemplo básico de <span class="methodname"><strong>Uri\WhatWg\Url::getUnicodeHost()</strong></span></strong></p>
   <div class="example-contents">
<div class="annotation-interactive phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$url </span><span style="color: #007700">= new </span><span style="color: #0000BB">\Uri\WhatWg\Url</span><span style="color: #007700">(</span><span style="color: #DD0000">"https://example.com"</span><span style="color: #007700">);<br /><br />echo </span><span style="color: #0000BB">$url</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getUnicodeHost</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

   <div class="example-contents"><p>O exemplo acima produzirá:</p></div>
   <div class="example-contents screen">
<div class="annotation-interactive examplescode"><pre class="examplescode">example.com</pre>
</div>
   </div>
  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-uri-whatwg-url.getunicodehost-seealso">
  <h3 class="title">Veja Também</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="uri-whatwg-url.getasciihost.php" class="methodname" rel="rdfs-seeAlso">Uri\WhatWg\Url::getAsciiHost()</a> - Obt&eacute;m o componente host como uma string ASCII</span></li>
   <li><span class="methodname"><a href="uri-whatwg-url.withhost.php" class="methodname" rel="rdfs-seeAlso">Uri\WhatWg\Url::withHost()</a> - Modifica o componente host</span></li>
   <li><span class="methodname"><a href="uri-rfc3986-uri.getrawhost.php" class="methodname" rel="rdfs-seeAlso">Uri\Rfc3986\Uri::getRawHost()</a> - Obt&eacute;m o componente host bruto</span></li>
   <li><span class="methodname"><a href="uri-rfc3986-uri.gethost.php" class="methodname" rel="rdfs-seeAlso">Uri\Rfc3986\Uri::getHost()</a> - Obt&eacute;m o componente host normalizado</span></li>
  </ul>
 </div>

</div><?php manual_footer($setup); ?>