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 200-710 Exam - Topic 5 Question 20 Discussion

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

What will the following code piece print?

echo strtr('Apples and bananas', 'ae', 'ea')

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Claribel
5 months ago
I don't know, this seems off.
upvoted 0 times
...
Clare
5 months ago
No way, it's A for sure!
upvoted 0 times
...
Zana
5 months ago
Wait, are you sure? I thought it would be C.
upvoted 0 times
...
Leontine
5 months ago
Definitely A!
upvoted 0 times
...
Candra
5 months ago
It will print "Applas end bananas".
upvoted 0 times
...
Leonida
6 months ago
I thought the replacements would mix things up more, but I can't recall if it affects the same letters in one go. Is it D?
upvoted 0 times
...
Kindra
6 months ago
I'm not entirely sure, but I remember a similar question where it swapped letters. Could it be option A?
upvoted 0 times
...
Armanda
6 months ago
I think the `strtr` function replaces characters, so it should change 'a' to 'e' and 'e' to 'a'.
upvoted 0 times
...
Cecil
6 months ago
I feel like the output will still have 'Apples and bananas' unchanged, so maybe it's C?
upvoted 0 times
...
Jeannine
6 months ago
Wait, I'm a bit confused. Doesn't the last configured router ID take precedence? If so, then the answer should be 10.10.10.66, right?
upvoted 0 times
...
Trinidad
6 months ago
I've got a good feeling about option A, getJobStatus. That seems like the most appropriate method name for checking the status of an asynchronous operation. I'll mark that one down.
upvoted 0 times
...

Save Cancel