Whats the difference between include() and require()?
Answer Posted / kathiresan n
You can insert the content of a file into a PHP file before
the server executes it, with the include() or require()
function.
The two functions are identical in every way, except how
they handle errors.
The include() function generates a warning but the script
will continue execution while the require() function
generates a fatal error and the script execution will stop
after the error.
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is mysqli php?
What is Mcrypt used for?
Do you know what is the function mysql_pconnect() usefull for?
Explain some most commonly use string functions in php?
What is php addslashes?
how to open & closing opening period in fico
What is better .net or php?
What is a php session?
What is an abstract class in php?
Is php closing tag necessary?
What is a php class?
What is return value in php?
What is the static variable in function useful for?
What is the difference between get and post method in php?
How many escape sequences are recognized in double-quoted strings in php?