PHP 8.4.6 Released!

restore_include_path

(PHP 4 >= 4.3.0, PHP 5, PHP 7)

restore_include_pathinclude_path 設定オプションの値を元に戻す

警告

この関数は PHP 7.4.0 で 非推奨 になり、PHP 8.0.0 で 削除 されました。この関数に頼らないことを強く推奨します。

説明

restore_include_path(): void

include_path 設定値を php.ini でセットされたオリジナルの設定に戻します。

パラメータ

この関数にはパラメータはありません。

戻り値

値を返しません。

例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

?>

参考

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant