Zend
200-710 · Question #104
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
(17 responses)- A71% (12)
- B29% (5)
Community Discussion
No community discussion yet for this question.