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
1 months 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
1 months 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
Alona
1 days ago
I think it's A) Check one of the following too.
upvoted 0 times
...
Kenia
12 days ago
Yeah, that's an easy one. It's A) Check one of the following.
upvoted 0 times
...
Ozell
16 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
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