Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Is php deprecated?

991


Explain mail function in PHP with syntax?

993


How can you retrieve a cookie value?

1063


What is ci in php?

1032


What are the different types of php variables?

1043


How does php server work?

1013


Are php short tags acceptable to use?

929


How can i execute PHP File using Command Line?

967


What is csrf mvc?

1012


What is difference between rest and http?

987


What is php oops concepts?

1001


How many types of session are there?

1026


Differentiate echo vs. Print statement.

915


Can we override static method?

956


What is the use session in php?

1028