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

Answer Posted / umapathi

include_once -it file is not exist it displays warning
message
in case of require_once-if the file is not exist it
displays fatal error

Is This Answer Correct ?    34 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why use static methods php?

737


What is laravel php?

775


Explain Creating and Naming an Array?

779


How to set session.gc_divisor properly?

804


How to make horizonatl menu and vertical menu responsive

2065


How can we automatically escape incoming data?

706


Does php support multiple inheritances?

749


What are the methods to submit form in php?

742


How to get no of arguments passed to a PHP Function?

691


How to make a class in php?

716


What is include in php?

720


What is php session id?

709


What's the difference between __sleep and __wakeup?

762


What does php mean?

715


How can we execute a php script using command line?

726