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 sql injection in php?

538


Where are cookies stored php?

509


What is different types of visibility?

543


Explain soundex() and metaphone().

582


What are the php variables?

542






How can i execute PHP File using Command Line?

531


The left association operator % is used in PHP for?

586


How many types of array are there in php?

590


What is php mean?

572


How to insert a line break in php string?

555


Please explain is it possible to use com component in php?

566


What function should you use to join array elements with a glue string?

556


Differences between get, post and request methods ?

501


How to check a key exist in an array?

582


What is isset in php form?

544