get_include_path
(PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8)
get_include_path — 獲取目前的 include_path 配置選項
返回值
返回字串的路徑。
範例
示例 #1 get_include_path() 例子
<?php
echo get_include_path();
// 或使用 ini_get()
echo ini_get('include_path');
?>
參見
- ini_get() - 獲取一個配置選項的值
- restore_include_path() - 還原 include_path 配置選項的值
- set_include_path() - 設定 include_path 配置選項
- include - include