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 are the differences between include() and include_once
() functions?

Answer Posted / anjali ashok arote

include()function is more time consuming because of redeclaration is more in include() file ...
where as include_once()function only declare one time...
in include()function refreshment of file is needed many time
but in include_once()function refreshment of page is only one time

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 difference between Method overriding and overloading in PHP?

1008


What type of language is php?

948


Explain Type hinting in PHP?

988


Does https prevent csrf?

876


What is php oop?

960


What is new keyword in php?

906


What is the use of return in php?

874


What are access specifiers?

938


Do you know what is the difference between the include() and require() functions?

942


How to create a table using php?

1026


How to calculate the difference between two dates using php?

1005


Is PHP an open source software?

1012


What is an abstract class in php?

910


What is the use of Mbstring?

927


What is the correct syntax of mail() function in php?

982