What’s the difference between the include()
and require()
functions?
Note
Both the functions require()
and include()
include a specific file but on require()
function the process exits with a fatal error if the file can't be included, while the include()
statement may still pass and jump to the next step in the execution.