πŸ“Š PHP
Q. Which PHP function checks if a variable is an integer?
  • (A) is_numeric()
  • (B) is_int()
  • (C) ctype_digit()
  • (D) intval()
πŸ’¬ Discuss
βœ… Correct Answer: (B) is_int()

Explanation: is_int() checks if the variable type is integer.

Explanation by: Kanak Sharma
is_int() checks if the variable type is integer.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
1
Total Visits
πŸ“½οΈ
3 h ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
95%
Success Rate