Q. What is the use of the isset() function in PHP?

  • (A) Check if variable is empty
  • (B) Check if variable exists and is not null
  • (C) Set a variable
  • (D) Unset a variable
πŸ’¬ Discuss
βœ… Correct Answer: (B) Check if variable exists and is not null
Explanation: isset() checks if a variable is set and not null.
Explanation by: Rati Dubey
isset() checks if a variable is set and not null.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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