最新下载
热门教程
- 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);
?>
相关文章
- 《弓箭传说2》新手玩法介绍 01-16
- 《地下城与勇士:起源》断桥烟雨多买多送活动内容一览 01-16
- 《差不多高手》醉拳龙技能特点分享 01-16
- 《鬼谷八荒》毕方尾羽解除限制道具推荐 01-16
- 《地下城与勇士:起源》阿拉德首次迎新春活动内容一览 01-16
- 《差不多高手》情圣技能特点分享 01-16