Zend
200-550 · Question #77
What is the output of the following code? var_dump(boolval(-1));
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(-1));
Options
- Abool(true)
- Bbool(false)
How the community answered
(19 responses)- A79% (15)
- B21% (4)
Community Discussion
No community discussion yet for this question.