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


Please Help Members By Posting Answers For Below Questions

Explain what does the function get_magic_quotes_gpc() means?

704


What is in php 7?

748


In how many ways we can retrieve the data in the result set of mysql using php?

704


What is regex in html?

708


How to get best php developer Experience in Php with Sugar CRM / VTiger.

4158


What is the use of stripslashes in php?

750


what is benefit of magento?

2266


Is php an object or array?

707


Tell me what does the php error 'parse error in php - unexpected t_variable at line x' means?

772


Is php easier than javascript?

745


What is session expiry?

718


What is difference between html and php?

709


What is php data type?

723


What are the types of variables in php?

790


What is the difference between super () and this ()?

825