📄 runkit.configuration.html
字号:
<!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">""</td> <td colspan="1" rowspan="1" align="left">PHP_INI_PERDIR</td> <td class="empty"> </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">runkit.internal_override</td> <td colspan="1" rowspan="1" align="left">"0"</td> <td colspan="1" rowspan="1" align="left">PHP_INI_SYSTEM</td> <td class="empty"> </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'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"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">show_values</span><span style="color: #007700">() {<br /> echo </span><span style="color: #DD0000">"Foo is $_FOO\n"</span><span style="color: #007700">;<br /> echo </span><span style="color: #DD0000">"Bar is $_BAR\n"</span><span style="color: #007700">;<br /> echo </span><span style="color: #DD0000">"Baz is $_BAZ\n"</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">$_FOO </span><span style="color: #007700">= </span><span style="color: #DD0000">'foo'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$_BAR </span><span style="color: #007700">= </span><span style="color: #DD0000">'bar'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$_BAZ </span><span style="color: #007700">= </span><span style="color: #DD0000">'baz'</span><span style="color: #007700">;<br /><br /></span><span style="color: #FF8000">/* Displays foo and bar, but not baz */<br /></span><span style="color: #0000BB">show_values</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?></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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -