Sr. PHP Programmer Question: Download Senior PHP Programmer PDF
What is the difference between include() Function and require() Function?
Answer:
If there is any problem in loading a file then the require() function generates a fatal error and halt the execution of the script whereas include() function generates a warning but the script will continue execution.
Previous Question | Next Question |
What is the purpse $_PHP_SELF variable? | What's the difference between include and require? |