Sunday, July 17, 2011

What are the differences between require and include, include_once?

require_once() and include_once() are both the functions to include and evaluate the specified file only once. If the specified file is included previous to the present call occurrence, it will not be done again.

But require() and include() will do it as many times they are asked to do.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home