Q. Which of the following functions is used to include a file only once?

  • (A) include_once()
  • (B) require()
  • (C) include()
  • (D) require_once()
πŸ’¬ Discuss
βœ… Correct Answer: (A) include_once()
Explanation: include_once() includes the file only if it has not been included before.
Explanation by: Rati Dubey
include_once() includes the file only if it has not been included before.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
89
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
89%
Success Rate