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
Is key exist in array php?
What is good average session duration?
What is design pattern? Explain all including singleton pattern?
What is super keyword in php?
What is rest api in php?
How do I sort numbers in php?
How to convert one date format into another in php?
Is php dead 2019?
Explain how can we execute a php script using command line?
What is csrf token and how will you add csrf token in ajax?
How to call a php function from another php file?
What is the maximum size of a database in mysql?
Why do we use javascript in php?
What is the correct php command to use to catch any error messages within the code?
What is session_start () in php?