Zend
200-530 · Question #124
What will the following code piece print? echo strtr('Apples and bananas', 'ae', 'ea')
The correct answer is A. Applas end benenes. See the full explanation below for the reasoning.
Question
What will the following code piece print? echo strtr('Apples and bananas', 'ae', 'ea')
Options
- AApplas end benenes
- BEpplas end benenes
- CApples and bananas
- DApplas end bananas
How the community answered
(30 responses)- A77% (23)
- B13% (4)
- C3% (1)
- D7% (2)
Community Discussion
No community discussion yet for this question.