php8.5
Home/ Manual/ reference / runkit7/ Runkit Configuration Options

Runkit Configuration Options

Runkit Configuration OptionsNameDefaultChangeableChangelogrunkit.superglobal""INI_PERDIRrunkit.internal_override"0"INI_SYSTEM Constants

Runtime Runtime

NameDefaultChangeableChangelog
runkit.superglobal""INI_PERDIR
runkit.internal_override"0"INI_SYSTEM

Constants

Title

runkit.superglobalstring

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.

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

php
<?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_overridebool

Enables ability to modify/rename/remove internal functions.

Source: reference/runkit7/ini.xml · from the official PHP manual (php/doc-en)