runkit.configuration.html

来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 100 行

HTML
100
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Runtime Configuration</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="runkit.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="runkit.resources.html">Resource Types</a></div> <div class="up"><a href="runkit.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="runkit.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 border="5">   <caption><b>Runkit Configuration Options</b></caption>   <colgroup>    <thead valign="middle">     <tr valign="middle">      <th colspan="1">Name</th>      <th colspan="1">Default</th>      <th colspan="1">Changeable</th>      <th colspan="1">Changelog</th>     </tr>    </thead>    <tbody valign="middle" class="tbody">     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">runkit.superglobal</td>      <td colspan="1" rowspan="1" align="left">&quot;&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_PERDIR</td>      <td class="empty">&nbsp;</td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">runkit.internal_override</td>      <td colspan="1" rowspan="1" align="left">&quot;0&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_SYSTEM</td>      <td class="empty">&nbsp;</td>     </tr>    </tbody>   </colgroup>  </table>  For further details and definitions of the PHP_INI_* constants, see the <a href="ini.html" class="xref">php.ini directives</a>.</p><p class="para">Here&#039;s a short explanation ofthe configuration directives.</p><p class="para"> <dl>  <dt id="ini.runkit.superglobal">   <span class="term">    <i><tt class="parameter">runkit.superglobal</tt></i>    <a href="language.types.string.html" class="type string">string</a>   </span>   <dd>    <span class="simpara">     Comma-separated list of variable names to be treated as superglobals.     This value should be set in the systemwide php.ini file, but may work     in perdir configuration contexts depending on your SAPI.    </span>    <div class="example">     <p><b>Example #1 Custom Superglobals with runkit.superglobal=_FOO,_BAR in php.ini</b></p>     <div class="example-contents"><div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">show_values</span><span style="color: #007700">()&nbsp;{<br />&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Foo&nbsp;is&nbsp;$_FOO\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Bar&nbsp;is&nbsp;$_BAR\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Baz&nbsp;is&nbsp;$_BAZ\n"</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">$_FOO&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'foo'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$_BAR&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'bar'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$_BAZ&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'baz'</span><span style="color: #007700">;<br /><br /></span><span style="color: #FF8000">/*&nbsp;Displays&nbsp;foo&nbsp;and&nbsp;bar,&nbsp;but&nbsp;not&nbsp;baz&nbsp;*/<br /></span><span style="color: #0000BB">show_values</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>     </div>    </div>   </dd>  </dt>   </dl> </p></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="runkit.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="runkit.resources.html">Resource Types</a></div> <div class="up"><a href="runkit.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?