📜  区分 PHP include 和 require 语句 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:51.795000             🧑  作者: Mango

代码示例1
The only difference is — the include() statement will only generate a PHP warning but allow script execution to continue if the file to be included can't be found, whereas the require() statement will generate a fatal error and stops the script execution.