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 return ascii value of character in php?
Tell me how can we determine whether a php variable is an instantiated object of a certain class?
what is session_set_save_handler in PHP?
What is use of preg_replace in php?
Which have the fastest execution between mysql_fetch_array() and mysql_fetch_assoc()
How to redirect https to http url through .htaccess?
What are the features and advantages of object-oriented programming in php?
How can we display information of a variable and readable by human with php?
Does php need apache?
Is PHP an open source software?
Explain converting an object?
Tell me what library is used for pdf in php?
Are php session secure?
How do you end php?
How to enable cURL in PHP?