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
Will php die?
How can I learn php fast?
Is overloading possible in php?
How long is a php session valid?
Which programming language does php resemble?
What is the use of curl()?
Tell me how to find the length of a string?
Can we run php on tomcat server?
What is the difference between explode and split?
What are the differences between GET and POST methods?
How is the comparison of objects done in php?
What is fetch array in php?
Can php run without server?
Require_once(), require(), include(). What is difference between them?
What are the benefits of using php?