The PHP require_once function
The PHP require_once
function.
In contrast to require
this function only includes the referred file if it has not been included before.
Use this tag only for questions that directly ask about require_once
usage. Do not use this tag if your code contains require_once
but you have no reason to believe that require_once
is directly related to the issue you are asking about.