last

last is set to true if the current foreach iteration is the last one.

当前 foreach 循环执行到最后一遍时 last 被设置成 true.