Sr. PHP Programmer Question:
Download Questions PDF

What's the difference between the include() and require() functions?

Answer:

they both include a specific file but on require the process exits with a fatal error if the file can't be included, while include statement may still pass and jump to the next step in the execution.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
How ereg() function works?How will you access the uploaded file in PHP?