What are the differences between include() and include_once
() functions?
Answer Posted / sanjay sharma
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. so include_once() is
better than include().
Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
How to find datatype of variable in php?
What is php routing?
Is it possible to use com component in php?
How long is a php session valid?
How to remove white spaces from the beginning and/or the end of a string in php?
Will react hooks replace redux?
What is use of header() function in php? What the limitation of header()?
Explain about the $_GET variable of PHP?
What is Mcrypt used for?
Give the case where we can use get and we can use post methods?
Where php basically used?
Is key exist in array php?
Name some of the constants in php and their purpose.
What is mean by an associative array?
Explain whether it is possible to share a single instance of a memcache between multiple php projects?