in PHP by
Q:
What is the main difference between require() and require_once()?

► Click here to show 1 Answer

0 votes
by

require(), and require_once() perform the same task except that the second function checks if the PHP script is already included or not before executing it.

(same for include_once() and include())

Loan/Mortgage
Learn More with Madanswer

Related questions

0 votes
asked Jun 23, 2019 in PHP by SakshiSharma
...