What is the exact Diff. between include_once() and
require_once() in PHP?

Answer Posted / basha

include_once -it file is not exist it displays warning
message and continue the program

in case of require_once-if the file is not exist it
displays fatal error and terminate the prgram

Is This Answer Correct ?    21 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the common uses of php?

783


What is html used for?

770


Explain the difference between require() and require_once()?

714


Do you know what is the difference between the include() and require() functions?

755


What is the meaning of die in php?

754


Which functions are used to remove whitespaces from the string?

932


How can we determine whether a php variable is an instantiated object of a certain class?

764


How to create database connection and query in php?

820


What is lazy loading in php?

708


Why does php need server?

750


What is explode() in php?

777


What is the use of session and cookies in php?

756


How does php serialize work?

723


Explain difference between urlencode and urldecode?

770


What is array filter php?

731