(PHP 4 >= 4.3.0, PHP 5, PHP 7)
restore_include_path — 恢復 include_path 設定選項的值
此函式已自 PHP 7.4.0 起 *棄用*,並自 PHP 8.0.0 起 *移除*。強烈建議不要依賴此函式。
此函式沒有參數。
不回傳任何值。
範例 #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
?>