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 8 Question 86 Discussion

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

What is the output of the following code?

echo "1" + 2 * "0x02";

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Whoa, wait a minute. Is this some kind of trick question? I'm gonna go with option E, just to be safe.
upvoted 0 times
...
Susana
13 days ago
A classic PHP gotcha! I'm going with option D. 20 all the way, baby!
upvoted 0 times
...
Chaya
18 days ago
Hmm, this is a tricky one. Let me think... Okay, I'm going with option B. It's gotta be 3, right?
upvoted 0 times
Dorothea
4 days ago
User 1: I think it's 3 too.
upvoted 0 times
...
...
Ty
18 days ago
I'm not sure, but I think the correct answer is C) 5 because 2 * 2 is 4 and adding 1 gives 5.
upvoted 0 times
...
Pearlie
20 days ago
I believe it's E) 7 because 2 * 0x02 is 4 in hexadecimal.
upvoted 0 times
...
Von
21 days ago
I think the answer is B) 3.
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