What is the output of the following code?

What is the output of the following code?

var_dump(boolval(new StdClass()));
A . bool(true)
B . bool(false)

Answer: A

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments