經安全檢測,此網站為安全網站,請放心前往原始網址!

You can in fact use foreach to change array elements in PHP

foreach ($array as &$value) {}. This is only valid in PHP5 and can have very bad consequences for example run this piece of code:

codingrecipes.com

網址安全性掃描由 google 提供