InterviewSolution
Saved Bookmarks
| 1. |
Which one of the following statements is true for require() and require_once()?(a) They are functions(b) They are statements(c) They’ll not work if the () is not present(d) They can not be used to require filesThis question was addressed to me in semester exam.The above asked question is from Object Tools-1 topic in portion Object Tools and Design and Variables in PHP of PHP |
|
Answer» CORRECT answer is (b) They are statements Best explanation: require() and require_once() are ACTUALLY statements, not functions. This means that you can omit the BRACKETS when using them. |
|