总有人间一两风,填我十万八千梦

PHP restore_include_path 用法 手册 | 示例代码

PHP开发手册 归档 434℃ 0评论

restore_include_path

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

restore_include_path还原 include_path 配置选项的值

说明

restore_include_path ( void ) : void

还原到 php.ini 中设置的 include_path 主值。

返回值

没有返回值。

范例

Example #1 restore_include_path() 例子

<?php

echo get_include_path();  // .:/usr/local/lib/php

set_include_path('/inc');

echo get_include_path();  // /inc

restore_include_path();

// 或使用 ini_restore
ini_restore('include_path');

echo get_include_path();  // .:/usr/local/lib/php

?>

参见

用户贡献的笔记

There are no user contributed notes for this page.

转载请注明:悠然品鉴 » PHP restore_include_path 用法 手册 | 示例代码

喜欢 (0)or分享 (0)
发表我的评论
取消评论

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址