<!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="v8js.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="v8js.resources.html">Resource Types</a></div> <div class="up"><a href="v8js.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="v8js.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>V8js Configure 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="v8js.configuration.html#ini.v8js.max-disposed-contexts" class="link">v8js.max_disposed_contexts</a></td> <td>25</td> <td>PHP_INI_ALL</td> <td></td> </tr> <tr> <td><a href="v8js.configuration.html#ini.v8js.flags" class="link">v8js.flags</a></td> <td class="empty"> </td> <td>PHP_INI_ALL</td> <td></td> </tr> </tbody> </table> </p> <p class="para">Here's a short explanation of the configuration directives.</p> <p class="para"> <dl> <dt id="ini.v8js.max-disposed-contexts"> <span class="term"> <em><code class="parameter">v8js.max_disposed_contexts</code></em> <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> </span> <dd> <p class="para"> Sets limit for disposed contexts before forcing V8 to do garbage collection. </p> </dd> </dt> <dt id="ini.v8js.flags"> <span class="term"> <em><code class="parameter">v8js.flags</code></em> <span class="type"><a href="language.types.string.html" class="type string">string</a></span> </span> <dd> <p class="para"> Sets V8 command line flags. The list of available flags can be obtained in CLI mode by setting this parameter to <em>--help</em>. Example: <div class="informalexample"> <div class="example-contents screen"> <div class="cdata"><pre> $ php -r 'ini_set("v8js.flags", "--help"); new V8Js;' | less </pre></div> </div> </div> <blockquote class="note"><p><strong class="note">Note</strong>: <p class="para"> For these flags to be effective in runtime the ini_set() call has to be done before any V8Js objects are instantiated! </p> </p></blockquote> </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="v8js.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="v8js.resources.html">Resource Types</a></div> <div class="up"><a href="v8js.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>