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 74 Discussion

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

What is the output of the following code?

echo "22" + "0.2", 23 . 1;

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Franchesca
8 days ago
I'm not sure, but I think the answer is B) 22.2231 because the numbers are being treated as strings in the echo statement.
upvoted 0 times
...
Cristen
10 days ago
I agree with Samira, because the echo statement will concatenate the strings and output them as a single string.
upvoted 0 times
...
Samira
15 days ago
I think the output is B) 22.2231.
upvoted 0 times
...

Save Cancel