<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/var.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'var.configuration.php',
    1 => 'Runtime Configuration',
    2 => 'Runtime Configuration',
  ),
  'up' => 
  array (
    0 => 'var.setup.php',
    1 => 'Installing/Configuring',
  ),
  'prev' => 
  array (
    0 => 'var.setup.php',
    1 => 'Installing/Configuring',
  ),
  'next' => 
  array (
    0 => 'ref.var.php',
    1 => 'Variable handling Functions',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/var/ini.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="var.configuration" class="section">
 <h2 class="title">Runtime Configuration</h2>
 <p class="simpara">
The behaviour of these functions is affected by settings in <var class="filename">php.ini</var>.
</p>
 <p class="para">
  <table class="doctable table">
   <caption><strong>Variables Configuration Options</strong></caption>
   
    <thead>
     <tr>
      <th>Name</th>
      <th>Default</th>
      <th>Changeable</th>
      <th>Changelog</th>
     </tr>

    </thead>

    <tbody class="tbody">
    <tr>
     <td><a href="var.configuration.php#ini.unserialize-callback-func" class="link">unserialize_callback_func</a></td>
     <td><strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="var.configuration.php#ini.unserialize-max-depth" class="link">unserialize_max_depth</a></td>
     <td>&quot;4096&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td>Available as of PHP 7.4.0.</td>
    </tr>

    </tbody>
   
  </table>

  For further details and definitions of the
INI_* modes, see the <a href="configuration.changes.modes.php" class="xref">Where a configuration setting may be set</a>.
 </p>
 
 <p class="para">Here&#039;s a short explanation of
the configuration directives.</p>
 
 <p class="para">
  <dl>
   
    <dt id="ini.unserialize-callback-func"> 
     <code class="parameter">unserialize_callback_func</code>
     <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
    </dt>
    <dd>
     <p class="para">
      The callback specified is called when <span class="function"><a href="function.unserialize.php" class="function">unserialize()</a></span>
      attempts to use an undefined class. A warning appears if the specified
      callback function is not defined, or if the callback function fails to
      define the missing class.
     </p>
     <p class="para">
      See also <span class="function"><a href="function.unserialize.php" class="function">unserialize()</a></span> and <a href="language.oop5.autoload.php" class="link">Autoloading Classes</a>.
     </p>
    </dd>
   
   
    <dt id="ini.unserialize-max-depth">
     <code class="parameter">unserialize_max_depth</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      The maximum depth of structures permitted during unserialization when
      using <span class="function"><a href="function.unserialize.php" class="function">unserialize()</a></span>, and is intended to prevent stack
      overflows. This can be disabled by setting
      <code class="literal">unserialize_max_depth=0</code>.
     </p>
     <p class="para">
      See also <span class="function"><a href="function.unserialize.php" class="function">unserialize()</a></span> and <a href="language.oop5.autoload.php" class="link">Autoloading Classes</a>.
     </p>
    </dd>
   

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