<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/info.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'info.configuration.php',
    1 => 'Налаштування під час виконання',
    2 => 'Налаштування під час виконання',
  ),
  'up' => 
  array (
    0 => 'info.setup.php',
    1 => 'Встановлення/налаштування',
  ),
  'prev' => 
  array (
    0 => 'info.setup.php',
    1 => 'Встановлення/налаштування',
  ),
  'next' => 
  array (
    0 => 'info.constants.php',
    1 => 'Попередньо визначені константи',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/info/ini.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="info.configuration" class="section">
 <h2 class="title">Налаштування під час виконання</h2>
 <p class="simpara">
На поведінку цих функцій випливають налаштування в <var class="filename">php.ini</var>.
</p>
 <p class="para">
  <table class="doctable table">
   <caption><strong>PHP Options/Info Configuration Options</strong></caption>
   
    <thead>
     <tr>
      <th>Назва</th>
      <th>Початково</th>
      <th>Де можна змінювати</th>
      <th>Журнал змін</th>
     </tr>

    </thead>

    <tbody class="tbody">
    <tr>
     <td><a href="info.configuration.php#ini.assert.active" class="link">assert.active</a></td>
     <td>&quot;1&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td>
      Deprecated as of PHP 8.3.0
     </td>
    </tr>

    <tr>
     <td><a href="info.configuration.php#ini.assert.bail" class="link">assert.bail</a></td>
     <td>&quot;0&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td>
      Deprecated as of PHP 8.3.0
     </td>
    </tr>

    <tr>
     <td><a href="info.configuration.php#ini.assert.warning" class="link">assert.warning</a></td>
     <td>&quot;1&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td>
      Deprecated as of PHP 8.3.0
     </td>
    </tr>

    <tr>
     <td><a href="info.configuration.php#ini.assert.callback" class="link">assert.callback</a></td>
     <td>NULL</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td>
      Deprecated as of PHP 8.3.0
     </td>
    </tr>

    <tr>
     <td><a href="info.configuration.php#ini.assert.quiet-eval" class="link">assert.quiet_eval</a></td>
     <td>&quot;0&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td>Removed as of PHP 8.0.0</td>
    </tr>

    <tr>
     <td><a href="info.configuration.php#ini.assert.exception" class="link">assert.exception</a></td>
     <td>&quot;1&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td>
      Prior to PHP 8.0.0, defaults to <code class="literal">&quot;0&quot;</code>.
      Deprecated as of PHP 8.3.0
     </td>
    </tr>

    <tr>
     <td><a href="info.configuration.php#ini.enable-dl" class="link">enable_dl</a></td>
     <td>&quot;1&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
     <td>Цей застарілий функціонал буде <em>обов&#039;язково</em>
<em>видалено</em> у
майбутньому.</td>
    </tr>

    <tr>
     <td><a href="info.configuration.php#ini.max-execution-time" class="link">max_execution_time</a></td>
     <td>&quot;30&quot;</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="info.configuration.php#ini.max-input-time" class="link">max_input_time</a></td>
     <td>&quot;-1&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-perdir">INI_PERDIR</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="info.configuration.php#ini.max-input-nesting-level" class="link">max_input_nesting_level</a></td>
     <td>&quot;64&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-perdir">INI_PERDIR</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="info.configuration.php#ini.max-input-vars" class="link">max_input_vars</a></td>
     <td>1000</td>
     <td><strong><code><a href="info.constants.php#constant.ini-perdir">INI_PERDIR</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="info.configuration.php#ini.zend.enable-gc" class="link">zend.enable_gc</a></td>
     <td>&quot;1&quot;</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="info.configuration.php#ini.zend.max-allowed-stack-size" class="link">zend.max_allowed_stack_size</a></td>
     <td>&quot;0&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
     <td>Available as of PHP 8.3.0.</td>
    </tr>

    <tr>
     <td><a href="info.configuration.php#ini.zend.reserved-stack-size" class="link">zend.reserved_stack_size</a></td>
     <td>&quot;0&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
     <td>Available as of PHP 8.3.0.</td>
    </tr>

    <tr>
     <td><a href="info.configuration.php#ini.fiber.stack-size" class="link">fiber.stack_size</a></td>
     <td class="empty">&nbsp;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td>Available as of PHP 8.1.0.</td>
    </tr>

    </tbody>
   
  </table>

  Докладніша інформація та визначення режимів INI_* на сторінці <a href="configuration.changes.modes.php" class="xref">Де можна встановлювати параметри конфігурації</a>.
 </p>
 
 <p class="para">Тут є коротке пояснення директив
конфігурації.</p>
 
 <p class="para">
  <dl>
   
    <dt id="ini.assert.active">
     <code class="parameter">assert.active</code>
     <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
    </dt>
    <dd>
     <p class="para">
      Enable <span class="function"><a href="function.assert.php" class="function">assert()</a></span> evaluation.
      <a href="ini.core.php#ini.zend.assertions" class="link">zend.assertions</a> should be
      used instead to control the behaviour of <span class="function"><a href="function.assert.php" class="function">assert()</a></span>.
     </p>
     <div class="warning"><strong class="warning">Увага</strong><p class="simpara">Цей функціонал
<em>ЗАСТАРІВ</em>, починаючи з PHP 8.3.0. Вкрай не рекомендується на
нього покладатися.</p></div>
    </dd>
   

   
    <dt id="ini.assert.bail">
     <code class="parameter">assert.bail</code>
     <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
    </dt>
    <dd>
     <p class="para">
      Terminate script execution on failed assertions.
     </p>
     <div class="warning"><strong class="warning">Увага</strong><p class="simpara">Цей функціонал
<em>ЗАСТАРІВ</em>, починаючи з PHP 8.3.0. Вкрай не рекомендується на
нього покладатися.</p></div>
    </dd>
   

   
    <dt id="ini.assert.warning">
     <code class="parameter">assert.warning</code>
     <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
    </dt>
    <dd>
     <p class="para">
      Issue a PHP warning for each failed assertion.
     </p>
     <div class="warning"><strong class="warning">Увага</strong><p class="simpara">Цей функціонал
<em>ЗАСТАРІВ</em>, починаючи з PHP 8.3.0. Вкрай не рекомендується на
нього покладатися.</p></div>
    </dd>
   

   
    <dt id="ini.assert.callback">
     <code class="parameter">assert.callback</code>
     <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
    </dt>
    <dd>
     <p class="para">
      User function to call on failed assertions.
     </p>
     <div class="warning"><strong class="warning">Увага</strong><p class="simpara">Цей функціонал
<em>ЗАСТАРІВ</em>, починаючи з PHP 8.3.0. Вкрай не рекомендується на
нього покладатися.</p></div>
    </dd>
   

   
    <dt id="ini.assert.quiet-eval">
     <code class="parameter">assert.quiet_eval</code>
     <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
    </dt>
    <dd>
     <div class="warning"><strong class="warning">Увага</strong><p class="simpara">Цей функціонал
<em>ВИЛУЧЕНИЙ</em> в PHP 8.0.0.</p>
</div>
     <p class="para">
      Use the current setting of <span class="function"><a href="function.error-reporting.php" class="function">error_reporting()</a></span> during
      assertion expression evaluation. If enabled, no errors are shown
      (implicit error_reporting(0)) while evaluation. If disabled, errors are
      shown according to the settings of <span class="function"><a href="function.error-reporting.php" class="function">error_reporting()</a></span>
     </p>
    </dd>
   

   
    <dt id="ini.assert.exception">
     <code class="parameter">assert.exception</code>
     <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
    </dt>
    <dd>
     <p class="para">
      Issue an <span class="classname"><a href="class.assertionerror.php" class="classname">AssertionError</a></span> exception for the failed
      assertion.
     </p>
     <div class="warning"><strong class="warning">Увага</strong><p class="simpara">Цей функціонал
<em>ЗАСТАРІВ</em>, починаючи з PHP 8.3.0. Вкрай не рекомендується на
нього покладатися.</p></div>
    </dd>
   

   
    <dt id="ini.enable-dl">
      <code class="parameter">enable_dl</code>
      <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
    </dt>
    <dd>
     <p class="para">
      This directive allows to turn dynamic loading of
      PHP extensions with <span class="function"><a href="function.dl.php" class="function">dl()</a></span> on and
      off.
     </p>
     <p class="para">
      The main reason for turning dynamic loading off is
      security. With dynamic loading, it&#039;s possible to ignore all
      <a href="ini.core.php#ini.open-basedir" class="link">open_basedir</a> restrictions.
      The default is to allow dynamic loading.
     </p>
    </dd>
   

   
    <dt id="ini.max-execution-time">
     <code class="parameter">max_execution_time</code>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      This sets the maximum time in seconds a script is allowed to
      run before it is terminated by the parser.  This helps
      prevent poorly written scripts from tying up the server. The
      default setting is <code class="literal">30</code>.  When running PHP
      from the <a href="features.commandline.php" class="link">command
      line</a> the default setting is <code class="literal">0</code>.
     </p>
     <p class="para">
      On non Windows systems, the maximum execution time is not affected by system calls,
      stream operations etc.  Please see the
      <span class="function"><a href="function.set-time-limit.php" class="function">set_time_limit()</a></span> function for more
      details.
     </p>
     <p class="para">
      Your web server can have other timeout configurations that may 
      also interrupt PHP execution. Apache has a 
      <code class="literal">Timeout</code> directive and IIS has a CGI timeout 
      function. Both default to 300 seconds. See your web server 
      documentation for specific details.
     </p>
    </dd>
   

   
    <dt id="ini.max-input-time">
     <code class="parameter">max_input_time</code>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      This sets the maximum time in seconds a script is allowed to
      parse input data, like POST and GET. Timing begins at the moment PHP
      is invoked at the server and ends when execution begins.
      The default setting is <code class="literal">-1</code>, which means that 
      <a href="info.configuration.php#ini.max-execution-time" class="link">max_execution_time</a>
      is used instead. Set to <code class="literal">0</code> to allow unlimited time.
     </p>
    </dd>
   

   
    <dt id="ini.max-input-nesting-level">
     <code class="parameter">max_input_nesting_level</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      Sets the max nesting depth of
      <a href="language.variables.external.php" class="link">input variables</a> (i.e.
      <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>.)
     </p>
    </dd>
   

   
    <dt id="ini.max-input-vars">
     <code class="parameter">max_input_vars</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      How many <a href="language.variables.external.php" class="link">input
      variables</a> may be accepted (limit is applied to 
      $_GET, $_POST and $_COOKIE superglobal separately). Use of this directive 
      mitigates the possibility of denial of service attacks which use hash collisions.
      If there are more input variables than specified by this directive,
      an <strong><code><a href="errorfunc.constants.php#constant.e-warning">E_WARNING</a></code></strong> is issued, and further input
      variables are truncated from the request.
     </p>
    </dd>
   

   
    <dt id="ini.zend.enable-gc">
     <code class="parameter">zend.enable_gc</code>
     <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
    </dt>
    <dd>
     <p class="para">
      Enables or disables the circular reference collector.
     </p>
    </dd>
   

   
    <dt id="ini.zend.max-allowed-stack-size">
     <code class="parameter">zend.max_allowed_stack_size</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      The maximum native stack space that the operating system allows the
      program to consume.
      Trying to consume more than the operating system allows
      typically results in a hard crash with no easily available debugging
      information.
      To make debugging easier, the engine throws an
      <span class="classname"><a href="class.error.php" class="classname">Error</a></span>
      before it happens (when the program uses more than
      <a href="info.configuration.php#ini.zend.max-allowed-stack-size" class="link">zend.max_allowed_stack_size</a>-<a href="info.configuration.php#ini.zend.reserved-stack-size" class="link">zend.reserved_stack_size</a>
      bytes of stack).
     </p>
     <p class="para">
      Recursion in user-defined code does not consume native stack space.
      However, internal functions and magic methods do.
      Very deep recursion involving these functions can cause the program to
      exhaust all available native stack space.
     </p>
     <p class="para">
      Possible values for this parameter are:
      <ul class="simplelist">
       <li>
        <code class="literal">0</code>:
        Auto-detect the maximum native stack space that the operating system
        allows the program to consume.
        This is the default.
        When detection is not possible, a known system default is used.
       </li>
       <li>
        <code class="literal">-1</code>: Disables stack size checking in the engine.
       </li>
       <li>
        Positive integer: A fixed size, in bytes.
        Setting this value too high has the same effect as disabling stack size
        checking.
       </li>
      </ul>
     </p>
     <p class="para">
      As the stack size of
      <a href="language.fibers.php" class="link">fibers</a>
      is determined by
      <a href="info.configuration.php#ini.fiber.stack-size" class="link">fiber.stack_size</a>,
      the value of this parameter is used instead of
      <a href="info.configuration.php#ini.zend.max-allowed-stack-size" class="link">zend.max_allowed_stack_size</a>
      when checking stack usage during the execution of a Fiber.
     </p>
     <blockquote class="note"><p><strong class="note">Зауваження</strong>: 
      <p class="para">
       This is not related to stack <em>buffer</em> overflows, and is not a security
       feature.
      </p>
     </p></blockquote>
    </dd>
   

   
    <dt id="ini.zend.reserved-stack-size">
     <code class="parameter">zend.reserved_stack_size</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      The reserved stack size, in bytes.
      This is subtracted from the
      <a href="info.configuration.php#ini.zend.max-allowed-stack-size" class="link">max allowed stack size</a>,
      as a buffer, when checking the stack size.
     </p>
     <p class="para">
      Possible values for this parameter are:
      <ul class="simplelist">
       <li>
        <code class="literal">0</code>: Auto-detect a sensible size.
       </li>
       <li>
        Positive integer: A fixed size, in bytes.
       </li>
      </ul>
     </p>
    </dd>
   

   
    <dt id="ini.fiber.stack-size">
     <code class="parameter">fiber.stack_size</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      The native stack size, in bytes, allocated for each
      <a href="language.fibers.php" class="link">Fiber</a>.
     </p>
     <p class="para">
      The default value is 1MiB on systems with a pointer size lower than
      8 bytes, or 2MiB otherwise.
     </p>
    </dd>
   
  </dl>
 </p>
</div><?php manual_footer($setup); ?>