Q. Which function is used to check if a variable is set in PHP?

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

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