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 9 Question 51 Discussion

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

What will the following code print out?

$str = '✔ one of the following';

echo str_replace('✔', 'Check', $str);

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Oretha
15 days ago
Hmm, let me think about this... Ah, I got it! The answer is A) Check one of the following. The str_replace() function is doing its job correctly.
upvoted 0 times
...
Burma
16 days ago
Haha, this question is a piece of cake! The answer is clearly A) Check one of the following. I can't believe someone would mess up something this simple.
upvoted 0 times
Ozell
1 days ago
I agree, it's definitely A) Check one of the following.
upvoted 0 times
...
...
Alison
2 months ago
I'm not sure, but I think it will print A) Check one of the following as well.
upvoted 0 times
...
Rossana
2 months ago
I agree with Hyman, because the code is replacing '✔' with 'Check'.
upvoted 0 times
...
Hyman
2 months ago
I think it will print A) Check one of the following.
upvoted 0 times
...

Save Cancel