Q. Which PHP function returns the current locale?

  • (A) get_locale()
  • (B) locale_get()
  • (C) setlocale()
  • (D) current_locale()
πŸ’¬ Discuss
βœ… Correct Answer: (C) setlocale()
Explanation: setlocale() returns the current locale when called with LC_ALL, 0.
Explanation by: Mr. Dubey
setlocale() returns the current locale when called with LC_ALL, 0.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
59
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate