最新下载
热门教程
- 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);
?>
相关文章
- 《炽焰天穹》自选SS原皮选择建议 06-15
- 《小小英雄》刀主流派试炼平民通关阵容推荐 06-15
- 《小小英雄》拳主流派试炼平民通关阵容推荐 06-15
- 如何入手FLOKI币?2025OKX交易所零门槛指南 06-15
- 《燕云十六声》三更断罪最新机制详解 06-15
- 《燕云十六声》河西版本武学流派强度榜 06-15