« インストール手順
定義済み定数 »

実行時設定

php.ini の設定により動作が変化します。

Runkit Configuration Options
名前 デフォルト 変更可能 変更履歴
runkit.superglobal "" INI_PERDIR  
runkit.internal_override "0" INI_SYSTEM  
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.

例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

Enables ability to modify/rename/remove internal functions.

関連キーワード:
runkit   実行時   superglobal   internal   override   show   values   定数   変化   Runkit   Configuration   Options   履歴   モード   詳細   ディレクティブ   Comma   separated   list   variable   names   treated   superglobals   systemwide   work
関連する関数・ページ:
function.runkit7-function-rename   runkit7.setup   function.runkit7-function-remove   function.runkit7-function-copy   function.runkit7-function-add   function.runkit7-object-id