<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.uri-rfc3986-uri.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'uri-rfc3986-uri.getrawhost.php',
    1 => 'Uri\\Rfc3986\\Uri::getRawHost',
    2 => 'R&eacute;cup&egrave;re le composant h&ocirc;te brut',
  ),
  'up' => 
  array (
    0 => 'class.uri-rfc3986-uri.php',
    1 => 'Uri\\Rfc3986\\Uri',
  ),
  'prev' => 
  array (
    0 => 'uri-rfc3986-uri.getrawfragment.php',
    1 => 'Uri\\Rfc3986\\Uri::getRawFragment',
  ),
  'next' => 
  array (
    0 => 'uri-rfc3986-uri.getrawpassword.php',
    1 => 'Uri\\Rfc3986\\Uri::getRawPassword',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/uri/uri/rfc3986/uri/getrawhost.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="uri-rfc3986-uri.getrawhost" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Uri\Rfc3986\Uri::getRawHost</h1>
  <p class="verinfo">(PHP 8 &gt;= 8.5.0)</p><p class="refpurpose"><span class="refname">Uri\Rfc3986\Uri::getRawHost</span> &mdash; <span class="dc-title">Récupère le composant hôte brut</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-uri-rfc3986-uri.getrawhost-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">function</span> <span class="methodname"><strong>Uri\Rfc3986\Uri::getRawHost</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">
   Récupère le composant hôte brut (non normalisé).
  </p>
  
  <p class="simpara">
   Les triplets hexadécimaux ne sont pas convertis en majuscules, les caractères non réservés encodés en pourcentage restent encodés, les composants schéma et hôte conservent la casse dans laquelle ils ont été fournis, et les segments point sont conservés dans le chemin.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-uri-rfc3986-uri.getrawhost-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="simpara">Cette fonction ne contient aucun paramètre.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-uri-rfc3986-uri.getrawhost-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="simpara">
   Retourne le composant hôte brut sous forme de <a href="language.types.string.php" class="link">chaîne de caractères</a> si le composant hôte existe, <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> est retourné sinon.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-uri-rfc3986-uri.getrawhost-examples">
  <h3 class="title">Exemples</h3>
  <div class="example" id="uri-rfc3986-uri.getrawhost.example.basic">
   <p><strong>Exemple #1 Exemple simple avec <span class="methodname"><strong>Uri\Rfc3986\Uri::getRawHost()</strong></span></strong></p>
   <div class="example-contents">
<div class="annotation-interactive phpcode"><pre><code style="color: #000000"><span style="color: #0000BB">&lt;?php
$uri </span><span style="color: #007700">= new </span><span style="color: #0000BB">\Uri\Rfc3986\Uri</span><span style="color: #007700">(</span><span style="color: #DD0000">"https://example.com"</span><span style="color: #007700">);

echo </span><span style="color: #0000BB">$uri</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getRawHost</span><span style="color: #007700">();
</span><span style="color: #0000BB">?&gt;</span></code></pre></div>
   </div>

   <div class="example-contents"><p>L&#039;exemple ci-dessus va afficher :</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-rfc3986-uri.getrawhost-seealso">
  <h3 class="title">Voir aussi</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="uri-rfc3986-uri.gethost.php" class="methodname" rel="rdfs-seeAlso">Uri\Rfc3986\Uri::getHost()</a> - R&eacute;cup&egrave;re le composant h&ocirc;te normalis&eacute;</span></li>
   <li><span class="methodname"><a href="uri-rfc3986-uri.withhost.php" class="methodname" rel="rdfs-seeAlso">Uri\Rfc3986\Uri::withHost()</a> - Modifie le composant h&ocirc;te</span></li>
   <li><span class="methodname"><a href="uri-whatwg-url.getasciihost.php" class="methodname" rel="rdfs-seeAlso">Uri\WhatWg\Url::getAsciiHost()</a> - R&eacute;cup&egrave;re le composant h&ocirc;te sous forme de cha&icirc;ne de caract&egrave;res ASCII</span></li>
   <li><span class="methodname"><a href="uri-whatwg-url.getunicodehost.php" class="methodname" rel="rdfs-seeAlso">Uri\WhatWg\Url::getUnicodeHost()</a> - R&eacute;cup&egrave;re le composant h&ocirc;te sous forme de cha&icirc;ne de caract&egrave;res Unicode</span></li>
  </ul>
 </div>

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