require

require is identical to include except upon failure it will also produce an Error exception (E_COMPILE_ERROR level error prior to PHP 8.0.0) whereas include will only produce a warning (E_WARNING level error).

See the include documentation for how this works.


版本号 #2
由 壳壳虫 创建于 2026-10-31 17:39:06 UTC
由 壳壳虫 更新于 2026-10-31 17:39:07 UTC