What is the exact Diff. between include_once() and
require_once() in PHP?
Answer Posted / rahul anand
when we use require_once then if the file is not existed
then it will show the fetal error and will not execute the
instruction written under the require_once function. In the
case of include_once() if the file does not exist then it
will show the error message and also show the statements
written under the include_once function.
| Is This Answer Correct ? | 16 Yes | 11 No |
Post New Answer View All Answers
Explain what does the unset() function means?
Write a php function to convert all null values to blank?
What is the use of mysqli_real_escape_string() function?
What is the difference between associative array and indexed array?
Why many companies are switching their current business language to php? Where php basically used?
Why is used in php?
How to write php function in html onclick?
Differentiate between require and include?
What is difference between echo and print_r in php?
How to write in a file in php?
Can php run on windows server?
Can we override static method?
What is mysqli php?
What is cookie in php with example?
When sessions ends?