- Joined
- Mar 25, 2013
- Messages
- 23
- Points
- 0
Both are PHP syntax and used for including the files in the php files, however the difference is,
If the file is not found by require() syntax, it will reason a fatal error and end the execution of the script.
If the file is not found by include() syntax, a warning will be mattered, however execution will never end .
If the file is not found by require() syntax, it will reason a fatal error and end the execution of the script.
If the file is not found by include() syntax, a warning will be mattered, however execution will never end .