Loading…

What is the main difference between require() and include()?

require() : If a required file not found, it will through a fatal error & stops the code execution

include() : If an essential file not found, It will produce a warning and execute the remaining scripts.

Suggest An Answer

No suggestions avaliable!

Latest post from PHP interview questions

Ask Question