<?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 => 'pt_BR',
  ),
  'this' => 
  array (
    0 => 'function.stream-resolve-include-path.php',
    1 => 'stream_resolve_include_path',
    2 => 'Resolve o nome do arquivo em rela&ccedil;&atilde;o ao caminho de include',
  ),
  'up' => 
  array (
    0 => 'ref.stream.php',
    1 => 'Fun&ccedil;&otilde;es de Fluxo',
  ),
  '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' => 'pt_BR',
    '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">
   Resolve o nome do arquivo em relação ao caminho de include
  </span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.stream-resolve-include-path-description">
  <h3 class="title">Descrição</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">
   Resolve <code class="parameter">filename</code> em relação ao caminho de include de acordo com as mesmas regras que <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">Parâmetros</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">filename</code></dt>
     <dd>
      <p class="para">
       O nome de arquivo a resolver.
      </p>
     </dd>
    
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.stream-resolve-include-path-returnvalues">
  <h3 class="title">Valor Retornado</h3>
  <p class="para">
   Retorna uma <span class="type"><a href="language.types.string.php" class="type string">string</a></span> contendo o caminho absoluto para o arquivo,  ou <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> em caso de falha.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.stream-resolve-include-path-examples">
  <h3 class="title">Exemplos</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Exemplo #1 Exemplo de <span class="function"><strong>stream_resolve_include_path()</strong></span></strong></p>
    <div class="example-contents"><p>
     Exemplo básico de uso.
    </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>O exemplo acima produzirá
algo semelhante a:</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); ?>