What is the difference between include and require in PHP?
Require – If the file is not found, then it will return fatal error and will put a halt on execution.
Include – If the file is not found, then it will return Warning only. It will not stop execution of program.
Leave a comment