ExamVeda
Login
Home
This question belongs to PHP Object Oriented Concept
Object Oriented Concept
?

Which one of the following statements is true for include_once() and require_once()?

Answer & Solution
Correct Answer: Option D
The only difference between the include() and require() statements lies in their handling of errors. A file invoked using require() will bring down your entire process when you meet an error. The same error encountered via a call to include() will merely generate a warning and end execution of the included file.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.