<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<section xml:id="var.configuration" xmlns="http://docbook.org/ns/docbook">
 &reftitle.runtime;
 &extension.runtime;
 <para>
  <table>
   <title>Variables Configuration Options</title>
   <tgroup cols="4">
    <thead>
     <row>
      <entry>&Name;</entry>
      <entry>&Default;</entry>
      <entry>&Changeable;</entry>
      <entry>&Changelog;</entry>
     </row>
    </thead>
    <tbody xml:id="unserialize.configuration.list">
    <row>
     <entry><link linkend="ini.unserialize-callback-func">unserialize_callback_func</link></entry>
     <entry>&null;</entry>
     <entry>PHP_INI_ALL</entry>
     <entry></entry>
    </row>
    <row>
     <entry><link linkend="ini.unserialize-max-depth">unserialize_max_depth</link></entry>
     <entry>"4096"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry>Available as of PHP 7.4.0.</entry>
    </row>
    </tbody>
   </tgroup>
  </table>
  &ini.php.constants;
 </para>
 
 &ini.descriptions.title;
 
 <para>
  <variablelist>
   <varlistentry xml:id="ini.unserialize-callback-func">
    <term xml:id="unserialize-callback-func"> <!-- Legacy ID, may be used in translations. -->
     <parameter>unserialize_callback_func</parameter>
     <type>string</type>
    </term>
    <listitem>
     <para>
      The callback specified is called when <function>unserialize</function>
      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.
     </para>
     <para>
      See also <function>unserialize</function> and <link linkend="language.oop5.autoload">Autoloading Classes</link>.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry xml:id="ini.unserialize-max-depth">
    <term xml:id="unserialize-max-depth">
     <parameter>unserialize_max_depth</parameter>
     <type>int</type>
    </term>
    <listitem>
     <para>
      The maximum depth of structures permitted during unserialization when
      using <function>unserialize</function>, and is intended to prevent stack
      overflows. This can be disabled by setting
      <literal>unserialize_max_depth=0</literal>.
     </para>
     <para>
      See also <function>unserialize</function> and <link linkend="language.oop5.autoload">Autoloading Classes</link>.
     </para>
    </listitem>
   </varlistentry>

  </variablelist>
 </para>
</section>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
