Interview Questions
Q.

Explain about require and include function?

 


Answer :
require("test.php");
If we used require function and file (test.php) not found then it generates a fatal error and stop the execution after that line;

include("test.php");
If we used include function and file is not found then generates a warning and does not stop the execution after that line.
Posted By : akash
Post Answer :  
Answer * :
Are You? Already a Member New User
   
User Name / Email * :
Password * :
Security Code * :

(Enter security code above shown on image)