Q. Which PHP function changes the current directory?

  • (A) setcwd()
  • (B) chdir()
  • (C) cd()
  • (D) change_dir()
πŸ’¬ Discuss
βœ… Correct Answer: (B) chdir()
Explanation: chdir() changes the current directory.
Explanation by: Kanak Sharma
chdir() changes the current directory.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
48
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
80%
Success Rate