get_include_path 获取当前的 include_path 配置选项

发表日期:2021-07-01 08:55:06 | 来源: | | 浏览(673) 分类:PHP 选项/信息 函数

get_include_path

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

get_include_path获取当前的 include_path 配置选项

说明

get_include_path(): string

获取当前 include_path 配置选项的值。

返回值

返回字符串的路径。

范例

示例 #1 get_include_path() 例子

<?php 
echo get_include_path();
// 或使用 ini_get()echo ini_get('include_path');
?>

参见

集速网 copyRight © 2015-2022 宁ICP备15000399号-1 宁公网安备 64010402001209号
与其临渊羡鱼,不如退而结网
欢迎转载、分享、引用、推荐、收藏。