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

  • (A) gettype()
  • (B) typeof()
  • (C) vartype()
  • (D) varinfo()
πŸ’¬ Discuss
βœ… Correct Answer: (A) gettype()
Explanation: gettype() returns the data type of a variable in PHP.
Explanation by: Rati Dubey
gettype() returns the data type of a variable in PHP.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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