SunshinePHP 2019 CFP Started


这些函数的行为受 php.ini 中的设置影响。

Runkit Configuration Options
名字 默认 可修改范围 更新日志
runkit.superglobal "" PHP_INI_PERDIR  
runkit.internal_override "0" PHP_INI_SYSTEM  
有关 PHP_INI_* 样式的更多详情与定义,见 配置可被设定范围


runkit.superglobal string
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.

Example #1 Custom Superglobals with runkit.superglobal=_FOO,_BAR in php.ini

function show_values() {
"Foo is $_FOO\n";
"Bar is $_BAR\n";
"Baz is $_BAZ\n";

$_FOO 'foo';
$_BAR 'bar';
$_BAZ 'baz';

/* Displays foo and bar, but not baz */
runkit.internal_override boolean
Enables ability to modify/rename/remove internal functions.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top