Report question

Question: get previous array values in foreach