Q. Which function would you use to check if a file exists in PHP?

  • (A) file_exists()
  • (B) file_check()
  • (C) exists()
  • (D) is_file()
πŸ’¬ Discuss
βœ… Correct Answer: (A) file_exists()
Explanation: file_exists() checks whether a file or directory exists.
Explanation by: Rati Dubey
file_exists() checks whether a file or directory exists.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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