restore_include_path
(PHP 4 >= 4.3.0, PHP 5, PHP 7)
restore_include_path — include_path 設定オプションの値を元に戻す
警告 この関数は PHP 7.4.0 で 非推奨になります。この関数に頼らないことを強く推奨します。
返り値
値を返しません。
例
例1 restore_include_path() の例
<?phpecho get_include_path(); // .:/usr/local/lib/phpset_include_path('/inc');echo get_include_path(); // /increstore_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