(PHP 4 >= 4.3.0, PHP 5, PHP 7)
restore_include_path — 还原 include_path 配置选项的值
本函数已自 PHP 7.4.0 起弃用,自 PHP 8.0.0 起移除。强烈建议不要依赖本函数。
此函数没有参数。
没有返回值。
版本 | 说明 |
---|---|
8.0.0 | 此函数已移除。 |
7.4.0 | 此函数已废弃。 |
示例 #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
?>
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant