What's the diff. between include() and Include_once().

Answer Posted / nikunj

when page is executed then include() func. include file
every times and include_once() func. include file only once
when page is execute

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Php says that an array is an ordered map. But how the values are ordered in an array?

805


What is use of header() function in php? What the limitation of header()?

701


What is xss and csrf?

687


What is csrf verification?

721


What is the correct line to use within the php.ini file, to specify that 128mb would be the maximum amount of memory that a script may use?

770


What does == mean in php?

720


What is polymorphism in oop php?

715


What is the difference between $name and $$name?

727


What is variable declaration?

661


Is rent a variable cost?

730


Explain how does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?

748


How to enable error reporting in php?

757


Explain me is multiple inheritance supported in php?

758


What is a string in php?

733


What is csrf token in php?

765