The behaviour of these functions is affected by settings in php.ini.
Name | Default | Changeable | Changelog |
---|---|---|---|
runkit.superglobal | "" | INI_PERDIR |
|
runkit.internal_override | "0" | INI_SYSTEM |
Here's a short explanation of the configuration directives.
runkit.superglobal
string
Example #1 Custom Superglobals with runkit.superglobal=_FOO,_BAR in php.ini
<?phpfunction 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