What are the differences between include() and include_once
() functions?
Answer Posted / hiren
The include_once() statement includes and evaluates the
specified file during the execution of the script. This is a
behavior similar to the include() statement, with the only
difference being that if the code from a file has already
been included, it will not be included again. As the name
suggests, it will be included just once.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What language is php written in?
Explain what does the unset() function means?
What are the differences between GET and POST methods?
Is php used for frontend or backend?
What exactly is validating and sanitizing?
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?
What are headers in php?
Does php support polymorphism?
What does PEAR stands for?
How can you tell if a number is even or odd without using any condition or loop?
What is reference variable php?
Does php need html?
Explain about switch statement in PHP?
Is laravel better than codeigniter?
What is the content of /etc directory?