文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>include, include_once, require和require_once

include, include_once, require和require_once

时间:2008-02-27  来源:octans

include() and require() are identical in every way except how they handle failure.
They both produce a warning, requrie() results in a fatal error.


The
[url=mk:@MSITStore:D:\gelf\学习资料\php\php_manual_en.chm::/en/function.include-once.html]include_once()[/url]
is a behavior similar to the
[url=mk:@MSITStore:D:\gelf\学习资料\php\php_manual_en.chm::/en/function.include.html]include()[/url]
statement, with the only difference being that if the code from a file has already been included, it will not be included again. As the name suggests, it will be included just once.

The require_once() is a behavior similar to the require() statement, with the only difference being that if the code from a file has already been included, it will not be included again. As the name suggests, it will be required just once.

相关阅读 更多 +
排行榜 更多 +
XLM币最具爆发力的安全交易所币安binance下载

XLM币最具爆发力的安全交易所币安binance下载

金融理财 下载
XEM币最安全隐私链的全球交易所币安binance下载

XEM币最安全隐私链的全球交易所币安binance下载

金融理财 下载
WAVES币最新上线的优质交易所币安binance下载

WAVES币最新上线的优质交易所币安binance下载

金融理财 下载