What are the differences between require and include,
include_once?
Answer Posted / sri harsha
include();--> include the file, but in case of file missing
throws a warning and continues execution of code of next line.
require();--> require also includes the file but in case of
file missing throws an fatal error and stop the execution of
the code of next line.
include_once();-->if same file was included first it will
not include the file another time.
Is This Answer Correct ? | 46 Yes | 1 No |
Post New Answer View All Answers
What is beforeRender() used?
hello all, I need some sample placement papers in lion bridge.. can anyone help me?
What is the actually used php version?
What is the difference between public, protected and private?
What does the scope of variables means?
How do you use an array in excel?
What is the difference between indexed and associative array?
What is input sanitization in php?
What is a stored procedure in mysql?
What is laracast?
How to replace a text in a string with another text in php?
What are the benefits of using php and mysql?
Can you give example for trait in php?
Explain how to submit form without a submit button.
Differentiate echo vs. Print statement.