如何学习PHP get_include_path()
get_include_path函数理解1
get_include_path函数的作用为获取当前的 include_path 配置选项
1.include_path配置项是否为能在php.ini中查询到;
get_include_path函数理解2
string get_include_path ( void )
1.get_include_path的返回值是否是字符串类型;
2.get_include_path是否无参数;
获取当前 include_path 配置选项的值。
1.include_paht如何理解;
2.当前include_path配置选项的值如何查询;
返回值
结果返回的是字符串的路径。
get_include_path函数理解3
<?php// 注意:自 PHP 4.3.0 起有效
echo get_include_path();//get_include_path函数如何理解;
// 在所有 PHP 版本中均有效
echo ini_get('include_path');//ini_get如何理解;ini_get是否可以理解为获取一个配置项的值;
?>
输出的结果为:.;C:\php\pear
阅读量:79
阅读量:90
阅读量:161
阅读量:178
阅读量:164