<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/filter.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'filter.configuration.php',
    1 => 'Configurazione di Runtime',
    2 => 'Configurazione di Runtime',
  ),
  'up' => 
  array (
    0 => 'filter.setup.php',
    1 => 'Installazione/Configurazione',
  ),
  'prev' => 
  array (
    0 => 'filter.installation.php',
    1 => 'Installazione',
  ),
  'next' => 
  array (
    0 => 'filter.constants.php',
    1 => 'Costanti predefinite',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/filter/ini.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="filter.configuration" class="section">
 <h2 class="title">Configurazione di Runtime</h2>
 <p class="simpara">
Il comportamento di queste funzioni è influenzato dalle impostazioni di <var class="filename">php.ini</var>.
</p>
 <p class="para">
  <table class="doctable table">
   <caption><strong>Filter Configuration Options</strong></caption>
   
    <thead>
     <tr>
      <th>Nome</th>
      <th>Default</th>
      <th>Modificabile</th>
      <th>Storico dei cambiamenti</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><a href="filter.configuration.php#ini.filter.default" class="link">filter.default</a></td>
      <td>&quot;unsafe_raw&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-perdir">INI_PERDIR</a></code></strong></td>
      <td>Deprecated as of PHP 8.1.0.</td>
     </tr>

     <tr>
      <td><a href="filter.configuration.php#ini.filter.default-flags" class="link">filter.default_flags</a></td>
      <td>NULL</td>
      <td><strong><code><a href="info.constants.php#constant.ini-perdir">INI_PERDIR</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

    </tbody>
   
  </table>

  Per maggiori dettagli e definizioni sui 
modi INI_*, vedere <a href="configuration.changes.modes.php" class="xref">Where a configuration setting may be set</a>.
 </p>

 <p class="para">Breve descrizione dei parametri
di configurazione.</p>

 <dl>
  
   <dt id="ini.filter.default">
    <code class="parameter">filter.default</code>
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
   </dt>
   <dd>
    <p class="para">
     Filter all <var class="varname"><a href="reserved.variables.get.php" class="classname">$_GET</a></var>, <var class="varname"><a href="reserved.variables.post.php" class="classname">$_POST</a></var>,
     <var class="varname"><a href="reserved.variables.cookies.php" class="classname">$_COOKIE</a></var>,  <var class="varname"><a href="reserved.variables.request.php" class="classname">$_REQUEST</a></var> and
     <var class="varname"><a href="reserved.variables.server.php" class="classname">$_SERVER</a></var> data by this filter.
     Original data can be accessed through <span class="function"><a href="function.filter-input.php" class="function">filter_input()</a></span>.
    </p>
    <p class="para">
     Must be the name of a filter which can be determined by using
     <span class="function"><a href="function.filter-list.php" class="function">filter_list()</a></span> and <span class="function"><a href="function.filter-id.php" class="function">filter_id()</a></span>.
    </p>
    <blockquote class="note"><p><strong class="note">Nota</strong>: 
     <span class="simpara">
      Be careful about the default flags for the default filters.
      They should be set explicitly.
      For example, to configure the default filter to behave exactly like
      <span class="function"><a href="function.htmlspecialchars.php" class="function">htmlspecialchars()</a></span> the default flags must be set to
      <code class="literal">0</code>, as shown in the example below.
     </span>
     <div class="example" id="example-1">
      <p><strong>Example #1 Configuring the default filter to act like htmlspecialchars</strong></p>
      <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">filter.default = full_special_chars<br />filter.default_flags = 0</span></code></div>
      </div>

     </div>
    </p></blockquote>
    <div class="warning"><strong class="warning">Avviso</strong>
     <p class="simpara">
      This INI setting is deprecated as of PHP 8.1.0.
     </p>
    </div>
   </dd>
  

  
   <dt id="ini.filter.default-flags">
    <code class="parameter">filter.default_flags</code>
    <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
   </dt>
   <dd>
    <span class="simpara">
     Default flags to apply when the default filter is set.
     This is set to <strong><code><a href="filter.constants.php#constant.filter-flag-no-encode-quotes">FILTER_FLAG_NO_ENCODE_QUOTES</a></code></strong>
     by default for backwards compatibility reasons.
     See <strong><code><a href="filter.constants.php#constant.filter-flag-none">FILTER_FLAG_<span class="replaceable">*</span></a></code></strong>
     constants for available flags.
    </span>
   </dd>
  
 </dl>
</div><?php manual_footer($setup); ?>