Junior PHP Developer Question:
Download Job Interview Questions and Answers PDF
Tell me what is the main difference between require() and require_once()?
Answer:
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())
(same for include_once() and include())
Download Junior PHP Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain what does the function get_magic_quotes_gpc() means? | Explain difference between urlencode and urldecode? |