Q. Which PHP function is used to check the type of a variable?

  • (A) gettype()
  • (B) typeof()
  • (C) var_type()
  • (D) checktype()
πŸ’¬ Discuss
βœ… Correct Answer: (A) gettype()
Explanation: gettype() returns the data type of a variable.
Explanation by: Admin
gettype() returns the data type of a variable.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
48
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Admin
Publisher
πŸ“ˆ
87%
Success Rate