报告仍然引用先前在 foreach 语句中使用的数组值的变量的写访问表达式。

建议通过使用 unset 来销毁这种引用。

有关详细信息,请参阅 foreach (php.net) and unset (php.net)