<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.info.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.restore-include-path.php',
    1 => 'restore_include_path',
    2 => 'Ripristina il valore dell\'opzione include_path',
  ),
  'up' => 
  array (
    0 => 'ref.info.php',
    1 => 'PHP Options/Info Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.putenv.php',
    1 => 'putenv',
  ),
  'next' => 
  array (
    0 => 'function.set-include-path.php',
    1 => 'set_include_path',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'it',
    'path' => 'reference/info/functions/restore-include-path.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.restore-include-path" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">restore_include_path</h1>
    <p class="verinfo">(PHP 4 &gt;= 4.3.0, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">restore_include_path</span> &mdash; <span class="dc-title">
     Ripristina il valore dell&#039;opzione include_path
    </span></p>

   </div>
   <div class="refsect1 unknown-121" id="refsect1-function.restore-include-path-unknown-121">
    <h3 class="title">Descrizione</h3>
     <div class="methodsynopsis dc-description">
      <span class="methodname"><strong>restore_include_path</strong></span>(): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

    <p class="simpara">
     Ripristina il valore del parametro di configurazione <a href="ini.core.php#ini.include-path" class="link">include_path</a>
     al valore impostato in 
     <var class="filename">php.ini</var> 
    </p>
    <p class="para">
     <div class="example" id="example-1">
      <p><strong>Example #1 Esempio di uso di <span class="function"><strong>restore_include_path()</strong></span></strong></p>
      <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /><br /></span><span style="color: #007700">echo </span><span style="color: #0000BB">get_include_path</span><span style="color: #007700">();  </span><span style="color: #FF8000">// .:/usr/local/lib/php<br /><br /></span><span style="color: #0000BB">set_include_path</span><span style="color: #007700">(</span><span style="color: #DD0000">'/inc'</span><span style="color: #007700">);<br /><br />echo </span><span style="color: #0000BB">get_include_path</span><span style="color: #007700">();  </span><span style="color: #FF8000">// /inc<br /><br />// A partire da PHP 4.3.0<br /></span><span style="color: #0000BB">restore_include_path</span><span style="color: #007700">();<br /><br /></span><span style="color: #FF8000">// In tutte le versioni di PHP<br /></span><span style="color: #0000BB">ini_restore</span><span style="color: #007700">(</span><span style="color: #DD0000">'include_path'</span><span style="color: #007700">);<br /><br />echo </span><span style="color: #0000BB">get_include_path</span><span style="color: #007700">();  </span><span style="color: #FF8000">// .:/usr/local/lib/php<br /><br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
      </div>

     </div>
    </p>
    <p class="simpara">
     Vedere anche <span class="function"><a href="function.ini-restore.php" class="function">ini_restore()</a></span>, 
     <span class="function"><a href="function.set-include-path.php" class="function">set_include_path()</a></span>,
     <span class="function"><a href="function.get-include-path.php" class="function">get_include_path()</a></span> e
     <span class="function"><a href="function.include.php" class="function">include</a></span>.
    </p>
   </div>

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