Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend Exam 200-710 Topic 2 Question 55 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 55
Topic #: 2
[All 200-710 Questions]

What is the output of the following code?

var_dump(boolval(new StdClass()));

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Shakira
13 days ago
Easy peasy! It's got to be bool(true). Everything is truthy in PHP, even an empty object!
upvoted 0 times
...
Judy
16 days ago
A) bool(true)
upvoted 0 times
...
Chauncey
18 days ago
Hmm, I'm thinking it's going to be bool(false). After all, a new StdClass object is an empty object, right?
upvoted 0 times
Johanna
4 days ago
A) bool(true)
upvoted 0 times
...
...
Domitila
22 days ago
B) bool(false)
upvoted 0 times
...
Mary
24 days ago
A) bool(true)
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77