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 the interface in php?
Is php faster than nodejs?
What are the encryption functions available in PHP?
Do csrf tokens expire?
Explain the difference between session and cookies in php?
What is php variable?
Tell me what library is used for pdf in php?
What is the alternative structure for control structures?
What is php array function?
What are php string functions?
How to read a file in php?
How many data types are used by php?
What is constructors and destructors?
Which is not a php magic constant?
Does php 5 support exceptions?