Q. What will be the output of the following code?
Code:
echo gettype(10.5);
β
Correct Answer: (A)
double
Explanation: In PHP, gettype() returns 'double' for float values.