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:

Susana
4 days ago
A classic PHP gotcha! I'm going with option D. 20 all the way, baby!
upvoted 0 times
...
Chaya
9 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
...
Ty
9 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
11 days ago
I believe it's E) 7 because 2 * 0x02 is 4 in hexadecimal.
upvoted 0 times
...
Von
12 days ago
I think the answer is B) 3.
upvoted 0 times
...

Save Cancel