Whats the difference between include() and require()?

Answer Posted / mahidhar

include() produces a Warning message where as require()
gives Fatal Error.

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which function will you use to create an array?

516


What are psrs?

601


What is the use of magic function in php?

504


Why we use get in php?

566


How to test if a variable is an array?

559






Can php run without apache?

545


What is the difference between $name and $$name?

525


How to create reusable code in php?

544


How can we define a variable accessible in functions of a php script?

549


Can I learn php without knowing c?

557


How to write a program to make chess?

545


Which function(s) in PHP computes the difference of arrays?

580


What is action hooks and filter hooks?

494


Tell me what is needed to be able to use image function?

540


How to convert a character to an ascii value?

560