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 the name of scripting engine in php?

686


What is difference between core php and framework?

462


How can I prevent sql-injection in php?

592


What is session cookies php?

547


What is php routing?

516






What is move_uploaded_file in php?

553


What are php string functions?

535


Does php support inheritance?

506


Tell me how to execute an sql query? How to fetch its result?

501


Which is better wamp or xampp?

540


How to insert an new array element in array?

536


How to enable parsing?

622


What is the use of strpos in php?

559


How to access a specific character in a string using php?

515


What is rtrim php?

550