πŸ“Š PHP
Q. Which PHP function returns the directory name of a given path?
  • (A) dirname()
  • (B) basename()
  • (C) pathinfo()
  • (D) dir()
πŸ’¬ Discuss
βœ… Correct Answer: (A) dirname()

Explanation: dirname() returns the directory part of a path.

Explanation by: Rati Dubey
dirname() returns the directory part of a path.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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