Array reset()
Array reset() is a PHP array helper. You pass an array, you get a new array or a boolean/count. Example: in_array(40, $marks), array_merge($a,$b), count($marks).
foreach is still how you loop. Functions don’t replace understanding [ ] vs ['name'=>].
Trap — expecting the original array to change when the function returns a copy (array_map).
Exam tip
Array reset(): one array, one function call, say the result.