<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/v8js.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ru',
  ),
  'this' => 
  array (
    0 => 'v8js.configuration.php',
    1 => 'Настройка во время выполнения',
    2 => 'Настройка во время выполнения',
  ),
  'up' => 
  array (
    0 => 'v8js.setup.php',
    1 => 'Установка и настройка',
  ),
  'prev' => 
  array (
    0 => 'v8js.installation.php',
    1 => 'Установка',
  ),
  'next' => 
  array (
    0 => 'v8js.examples.php',
    1 => 'Примеры',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'reference/v8js/ini.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="v8js.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>Опции настройки V8js</strong></caption>
   
    <thead>
     <tr>
      <th>Имя</th>
      <th>По умолчанию</th>
      <th>Место изменения</th>
      <th>Список изменений</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><a href="v8js.configuration.php#ini.v8js.max-disposed-contexts" class="link">v8js.max_disposed_contexts</a></td>
      <td>25</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td></td>
     </tr>

     <tr>
      <td><a href="v8js.configuration.php#ini.v8js.flags" class="link">v8js.flags</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></td>
     </tr>

    </tbody>
   
  </table>

 </p>

 <p class="para">Краткое разъяснение конфигурационных
директив.</p>

 <p class="para">
  <dl>
   
    <dt id="ini.v8js.max-disposed-contexts">
     <code class="parameter">v8js.max_disposed_contexts</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      Устанавливает предел размещённого контекста, после которого
      V8 принудительно запустит сборщик мусора.
     </p>
    </dd>
   
   
    <dt id="ini.v8js.flags">
     <code class="parameter">v8js.flags</code>
     <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
    </dt>
    <dd>
     <p class="para">
      Устанавливает флаги командной строки V8. Список доступных флагов
      можно посмотреть в режиме CLI, задав параметр
      <code class="literal">--help</code>. Пример:
      <div class="informalexample">
       <div class="example-contents screen">
<div class="cdata"><pre>
$ php -r &#039;ini_set(&quot;v8js.flags&quot;, &quot;--help&quot;); new V8Js;&#039; | less
</pre></div>
        </div>
       </div>
       <blockquote class="note"><p><strong class="note">Замечание</strong>: 
        <p class="para">
         Для эффективного управления флагами во время исполнения
         используйте ini_set() перед тем, как создавать объекты V8Js!
        </p>
       </p></blockquote>
      </p>
     </dd>
   

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