Answers

Question and Answer:

  Home  Junior PHP Developer

⟩ Explain what is the main difference between require() and require_once()?

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())

 139 views

More Questions for you: