最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
php set_include_path 函数
时间:2022-07-02 09:56:13 编辑:袖梨 来源:一聚教程网
set_include_path
( PHP 4中“ = 4.3.0 , PHP 5中)
set_include_path -集和include_path配置选项
描述
字符串set_include_path (字符串$ new_include_path )
集和include_path配置选项的期限脚本。
参数
new_include_path
新的价值和include_path
返回值
返回旧include_path中的成功或FALSE的失败。
实例
例如# 1 set_include_path ( )的例子
// Works as of PHP 4.3.0
set_include_path('/inc');
// Works in all PHP versions
ini_set('include_path', '/inc');
?>
实例二:
$path = '/usr/lib/pear';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
?>
相关文章
- 《夜族崛起》铁匠西里尔位置一览 05-17
- 《寓言之地》1.02更新内容一览 05-17
- 《辐射4》steam好评率介绍 05-17
- 《夜族崛起》技能强化珠宝掉落说明 05-17
- 《辐射4》主机控制台介绍 05-17
- 《星露谷物语》海草和绿藻获取方法 05-17