What is difference between require() and include() ?

Last updated 1 year, 9 months ago | 206 views 75     5

require() and include()

The require() function is identical to include(), except that it handles errors differently. If an error occurs, the include() function generates a warning, but the script will continue execution. The require() generates a fatal error, and the script will stop.

(same for require_once() and include_once())