πŸ“Š PHP
Q. What will be the output of the following code?
Code:
echo gettype(10.5);
  • (A) double
  • (B) float
  • (C) integer
  • (D) string
πŸ’¬ Discuss
βœ… Correct Answer: (A) double

Explanation: In PHP, gettype() returns 'double' for float values.

Explanation by: Rati Dubey
In PHP, gettype() returns 'double' for float values.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
67
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
89%
Success Rate