Whats the difference between include() and require()?
Answer Posted / priyanka
include() function generates a warning but the script
will continue execution while the require() function
generates a fatal error and the script execution will stop
after the error.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is difference between include,require,include_once and require_once()?
What is a query in a database?
What is composer used for?
What is the difference between rest and soap?
What is difference between md5 and SHA256?
Tell me what does the scope of variables means?
How do I use isdigit function?
What is list in PHP?
Why do we use cookie?
Tell me what is the main difference between require() and require_once()?
Write down the code for saving an uploaded file in PHP.
How can we check the value of a given variable is alphanumeric?
Tell me what does $_env means?
How to convert a string to uppercase in php?
How does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?