shophia
New member
- Joined
- Mar 25, 2013
- Messages
- 45
- 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 .