What are the differences between require and include,
include_once?
Answer Posted / tina
require - including a file/page ,if file doesn't exist,then
it gives error and doesn't execute.
include-including a file/page,if file doesn't exit,then it
gives warning and begin to execute.
include_once-including file/page, if it didn't been already
included,it includes else it won't.
| Is This Answer Correct ? | 41 Yes | 3 No |
Post New Answer View All Answers
What is a lambda function in php?
How can you declare a constant variable in php?
Which are the best start and end tags to use?
Explain the difference between php4 and php5.
How to execute a function in php?
Explain me what is the use of 'print' in php?
Explain how we can get the number of elements in an array?
What is cms php?
Tell me how comparison of objects is done in php5?
Do you know what is the difference between the include() and require() functions?
What are classes in php?
What are escaping characters? Explain with an example?
How to set cookies?
How does the identity operator ===compare two values in PHP?
Is nan in javascript?