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

Answer Posted / izhar aazmi

Include => Include the said file during execution...
Require => Require the said file for the execution...

As in english "require" mandatory inclusion is expected and
hence, on failure execution shall halt with fatal error...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between explode() and split() functions?

496


Is it possible multiple inheritance in php?

574


Is facebook still in php?

509


How arrays are passed through arguments?

604


Explain what does $_server means?

570






What is sorting php?

510


how can i develop forum code? any one pleale help me on this question

1516


How to replace a text in a string with another text in php?

515


What does the expression exception::__tostring means?

556


What is a base url?

501


Where php language is used?

522


What are the file upload settings in configuration file?

530


Tell us what does $_cookie means?

567


What are the uses of implode() function?

558


What is die in php?

557