restore_include_path
(PHP 4 >= 4.3.0, PHP 5, PHP 7)
restore_include_path — include_path 設定オプションの値を元に戻す
返り値
値を返しません。
例
例1 restore_include_path() の例
<?php
echo get_include_path(); // .:/usr/local/lib/php
set_include_path('/inc');
echo get_include_path(); // /inc
restore_include_path();
// または ini_restore を使用します
ini_restore('include_path');
echo get_include_path(); // .:/usr/local/lib/php
?>
参考
- ini_restore() - 設定オプションの値を元に戻す
- get_include_path() - 現在の include_path 設定オプションを取得する
- set_include_path() - include_path 設定オプションをセットする
- include - include