What is the output of the following code?

What is the output of the following code?

$f = function () { return "hello";};

echo gettype($f);
A . hello
B . string
C . object
D . function

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments