What are the differences between require and include, include once?

Asked by Gust M


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.

Uploaded Fri, 01-Jan-2021

Your Answer


Related Questions