U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend 200-710 Exam - Topic 5 Question 104 Discussion

What is the output of the following code?echo "22" + "0.2", 23 . 1;
B) 22.2231
A) 220.2231
C) 22.2,231
D) 56.2

Zend 200-710 Exam - Topic 5 Question 104 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 104
Topic #: 5
[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: B

Contribute your Thoughts:

0/2000 characters
Merri
10 hours ago
I remember something similar where concatenation and addition were mixed. Could it be option B?
upvoted 0 times
...
Graciela
2 months ago
I think the first part is adding the numbers, so it might be 22.2? But I'm not sure about the second part.
upvoted 0 times
...

Save Cancel