set_include_path
include_path 設定オプションをセットする
&reftitle.description;
stringfalseset_include_path
stringinclude_path
include_path
設定オプションの値を、このスクリプト内でだけ変更します。
&reftitle.parameters;
include_path
include_path
の新しい値。
&reftitle.returnvalues;
成功した場合に元の include_path
の値、&return.falseforfailure;。
&reftitle.examples;
set_include_path の例
]]>
include path の追加
PATH_SEPARATOR 定数を利用することで、
オペレーティングシステムに依存せずに include path を追加することが可能です。
この例では、既存の include_path の最後に
/usr/lib/pear を追加します。
]]>
&reftitle.seealso;
ini_set
get_include_path
restore_include_path
include