InterviewSolution
Saved Bookmarks
| 1. |
What's The Difference Between Include And Require? |
|
Answer» It’s how they HANDLE failures. If the file is not found by require(), it will cause a FATAL ERROR and halt the execution of the script. If the file is not found by include(), a WARNING will be issued, but execution will CONTINUE. It’s how they handle failures. If the file is not found by require(), it will cause a fatal error and halt the execution of the script. If the file is not found by include(), a warning will be issued, but execution will continue. |
|