前端之家收集整理的这篇文章主要介绍了
require和include与php有什么区别?,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
require
要求,
include
包括.
根据手册:
require() is identical to include() except upon failure it will produce a fatal E_ERROR level error. In other words,it will halt the script whereas include() only emits a warning (E_WARNING) which allows the script to continue.
原文链接:https://www.f2er.com/php/136340.html