What are the differences between require and include,
include_once?
Answer Posted / sri harsha
include();--> include the file, but in case of file missing
throws a warning and continues execution of code of next line.
require();--> require also includes the file but in case of
file missing throws an fatal error and stop the execution of
the code of next line.
include_once();-->if same file was included first it will
not include the file another time.
| Is This Answer Correct ? | 46 Yes | 1 No |
Post New Answer View All Answers
What is mysqli_real_escape_string?
What is the mysql injection?
Explain the value of the variable input is a string 1,2,3,4,5,6,7. How would you get the sum of the integers contained inside input?
How to specify argument default values?
What is php7?
How to check your php installation?
for image work which library?
What is php and sql?
What is meant by MIME?
Is php easy language to learn?
What is faster?
What is the difference between Split and Explode in PHP?
Which programming language does php resemble?
what are the differences between php and perl
What are the features and advantages of object-oriented programming in php?