Zend
200-550 · Question #79
What is the output of the following code? var_dump(boolval(new StdClass()));
The correct answer is A. bool(true). See the full explanation below for the reasoning.
Question
What is the output of the following code? var_dump(boolval(new StdClass()));
Options
- Abool(true)
- Bbool(false)
How the community answered
(36 responses)- A72% (26)
- B28% (10)
Community Discussion
No community discussion yet for this question.