What is the output of the following code?

Posted by: Pdfprep Category: 200-710 Tags: , ,

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

Leave a Reply

Your email address will not be published.