Q. What does the PHP function empty() check?

  • (A) If variable has non-zero value
  • (B) If variable is empty
  • (C) If variable is integer
  • (D) If variable is string
πŸ’¬ Discuss
βœ… Correct Answer: (B) If variable is empty
Explanation: empty() checks whether a variable is empty or not.
Explanation by: Rati Dubey
empty() checks whether a variable is empty or not.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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