What are the differences between include() and include_once
() functions?
Answer Posted / devendrarjadav
The include_once() function includes and evaluates the
specified file during the execution of the php script. It's
behavior is similar to the include() function but the only
difference is that if the code from a file has already been
included, it will not be included again.
Is This Answer Correct ? | 87 Yes | 14 No |
Post New Answer View All Answers
How many escape sequences are recognized in double-quoted strings?
Who is known as the father of php?
What is Different between Joomla And Magento?
Explain converting an object?
Swap two variables value without using third variable in php ?
What are soundex() and metaphone() functions in php?
Describe PHP error and logging information?
Which php function will attach one file to another?
How to make horizonatl menu and vertical menu responsive
What is design pattern? Explain all including singleton pattern?
what is the use of include_once in php?
Which is a perfect example of runtime polymorphism?
How will you calculate days between two dates in PHP?
How to calculate the difference between two dates using php?
Tell me what does the php error 'parse error in php - unexpected t_variable at line x' means?