πŸ“Š PHP
Q. Which of the following is used to destroy a PHP session?
  • (A) session_stop()
  • (B) session_destroy()
  • (C) unset_session()
  • (D) end_session()
πŸ’¬ Discuss
βœ… Correct Answer: (B) session_destroy()

Explanation: session_destroy() removes all data associated with a session.

Explanation by: Rati Dubey
session_destroy() removes all data associated with a session.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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