Zend
200-530 · Question #486
You run the following PHP script: <?php $x = 'john'; echo substr_replace ($x, 'jenny', 0, 0); ?>
The correct answer is E. jennyjohn. See the full explanation below for the reasoning.
Question
You run the following PHP script: <?php $x = 'john'; echo substr_replace ($x, 'jenny', 0, 0); ?>
Options
- Ajenn
- Bjohn
- Cjenny
- DThe script will throw an error message.
- Ejennyjohn
How the community answered
(36 responses)- A3% (1)
- B8% (3)
- C3% (1)
- D14% (5)
- E72% (26)
Community Discussion
No community discussion yet for this question.