πŸ“Š PHP
Q. Which function can be used to include code only once?
  • (A) include()
  • (B) require_once()
  • (C) require()
  • (D) include_once()
πŸ’¬ Discuss
βœ… Correct Answer: (D) include_once()

Explanation: include_once() includes the file only once and avoids redeclaration errors.

Explanation by: Rati Dubey
include_once() includes the file only once and avoids redeclaration errors.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
72
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
92%
Success Rate