array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'runkit7.configuration.php', 1 => '运行时配置', ), 'up' => array ( 0 => 'runkit7.setup.php', 1 => '安装/配置', ), 'prev' => array ( 0 => 'runkit7.installation.php', 1 => '安装', ), 'next' => array ( 0 => 'runkit7.resources.php', 1 => '资源类型', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/runkit7/ini.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
这些函数的行为受 php.ini 中的设置影响。
名字 | 默认 | 可修改范围 | 更新日志 |
---|---|---|---|
runkit.superglobal | "" | INI_PERDIR |
|
runkit.internal_override | "0" | INI_SYSTEM |
这是配置指令的简短说明。
runkit.superglobal
string
示例 #1 Custom Superglobals with runkit.superglobal=_FOO,_BAR in php.ini
<?php
function show_values() {
echo "Foo is $_FOO\n";
echo "Bar is $_BAR\n";
echo "Baz is $_BAZ\n";
}
$_FOO = 'foo';
$_BAR = 'bar';
$_BAZ = 'baz';
/* Displays foo and bar, but not baz */
show_values();
?>
runkit.internal_override
bool