PHP Programming: The difference between require() and include()
Sunday, October 1st, 2006Many friends ask me what’s the difference between require() and include(). Here is the explaination from PHP manual.
From PHP manual:-
require() and include() are identical in every way except how they handle failure. include() produces a Warning while require() results in a Fatal Error. In other words, don’t hesitate to use require() if you want a [...]