Michael Kuan says to Happy Web Developer
foreach的行為應該是會複製一整份做遍歷