<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Runtime Configuration</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="var.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="var.resources.html">Resource Types</a></div> <div class="up"><a href="var.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><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>unserialize_callback_func</td> <td>NULL</td> <td>PHP_INI_ALL</td> <td>Available since PHP 4.2.0.</td> </tr> </tbody> </table> For further details and definitions of the PHP_INI_* modes, see the <a href="configuration.changes.modes.html" class="xref">Where a configuration setting may be set</a>. </p> <p class="para">Here's a short explanation of the configuration directives.</p> <p class="para"> <dl> <dt id="unserialize-callback-func"> <span class="term"> <em><code class="parameter">unserialize_callback_func</code></em> <span class="type"><a href="language.types.string.html" class="type string">string</a></span> </span> <dd> <p class="para"> The callback specified is called when <span class="function"><a href="function.unserialize.html" 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.html" class="function">unserialize()</a></span> and <a href="language.oop5.autoload.html" class="link">Autoloading Objects</a>. </p> </dd> </dt> </dl> </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="var.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="var.resources.html">Resource Types</a></div> <div class="up"><a href="var.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>