Zend
200-530 · Question #442
200-530 Question #442: Real Exam Question with Answer & Explanation
Sign in or unlock 200-530 to reveal the answer and full explanation for question #442. The question stem and answer options stay visible for context.
Question
You have been given a code snippet as follows: $somearray = array("hi", "this is a string", "this is a code"); You want to iterate this array and modify the value of each of its elements. Which of the following ways will you use to accomplish the task?
Options
- AWhile loop
- BDo while loop
- CFor each loop
- DFor loop
Unlock 200-530 to see the answer
You've previewed enough free 200-530 questions. Unlock 200-530 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.