Home > DeveloperSection > Interviews > What is the difference between include() and require()

Posted on    September-26-2016 1:05 AM

 1 Answer(s)
  218  View(s)
Rate this:

Royce Roy
Royce Roy

Total Post:51

Posted on    September-26-2016 1:05 AM

When file is not found using include() method, then it will show warning, but program execution will continue whereas in require(), it will cause fatal error and halt the program execution.

Don't want to miss updates? Please click the below button!

Follow MindStick