<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.stream.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.stream-resolve-include-path.php',
    1 => 'stream_resolve_include_path',
    2 => 'R&eacute;sout un nom de fichier suivant les r&egrave;gles du chemin d\'inclusion',
  ),
  'up' => 
  array (
    0 => 'ref.stream.php',
    1 => 'Fonctions sur les flux',
  ),
  'prev' => 
  array (
    0 => 'function.stream-register-wrapper.php',
    1 => 'stream_register_wrapper',
  ),
  'next' => 
  array (
    0 => 'function.stream-select.php',
    1 => 'stream_select',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/stream/functions/stream-resolve-include-path.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.stream-resolve-include-path" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">stream_resolve_include_path</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.2, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">stream_resolve_include_path</span> &mdash; <span class="dc-title">Résout un nom de fichier suivant les règles du chemin d&#039;inclusion</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.stream-resolve-include-path-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>stream_resolve_include_path</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$filename</code></span>): <span class="type"><span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Résout le nom de fichier <code class="parameter">filename</code> en utilisant
   le chemin d&#039;inclusion, en utilisant les mêmes règles que les fonctions
   <span class="function"><a href="function.fopen.php" class="function">fopen()</a></span>/<span class="function"><a href="function.include.php" class="function">include</a></span>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.stream-resolve-include-path-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">filename</code></dt>
     <dd>
      <p class="para">
       Le nom de fichier à résoudre.
      </p>
     </dd>
    
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.stream-resolve-include-path-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="para">
   Retourne une <a href="language.types.string.php" class="link">chaîne de caractères</a> contenant le nom de fichier absolu résolu,
    ou <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si une erreur survient.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.stream-resolve-include-path-examples">
  <h3 class="title">Exemples</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Exemple #1 Exemple avec <span class="function"><strong>stream_resolve_include_path()</strong></span></strong></p>
    <div class="example-contents"><p>
     Exemple simple d&#039;utilisation.
    </p></div>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">stream_resolve_include_path</span><span style="color: #007700">(</span><span style="color: #DD0000">"test.php"</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

    <div class="example-contents"><p>Résultat de l&#039;exemple ci-dessus est similaire à :</p></div>
    <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">string(22) &quot;/var/www/html/test.php&quot;</pre>
</div>
    </div>
   </div>
  </p>
 </div>


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