<<< Previous question <<< Question ID#0377.md >>> Next question >>>
Which of the following statements best describes what happens to an array when array_shift() is called on it?
- A) All numerical array keys are modified to start from 0 and literal keys are untouched
- B) The removed element's key still exists in the array but its value is NULL
- C) All array keys are modified to start from 0 regardless of whether they're numerical or literal
- D) Remaining array keys are untouched
Answer
Answer: A