πŸ“Š PHP
Q. Which of the following is used to include code from another file and cause a fatal error if the file is missing?
  • (A) require()
  • (B) include()
  • (C) include_once()
  • (D) require_once()
πŸ’¬ Discuss
βœ… Correct Answer: (A) require()

Explanation: require() causes a fatal error and stops script if the file is missing.

Explanation by: Rati Dubey
require() causes a fatal error and stops script if the file is missing.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
45
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
88%
Success Rate