Note: Foreach does not support the ability to use "@" to disable error messages. You may notice the following code features exactly the same: Php $ arr = array ("one", "two", "three"); reset ($ arr); while (list (, $ value) = Each ($ VALUE) = Each Arr)) {echo "value: $ value
/ n";} foreach ($ arr as $ value) {echo "value: $ value
/ n";}?> The following code function is also identical: phpreset ($ ARR); while (list ($ key, $ value) = Each ($ arr)) {echo "key: $ key; value: $ value
/ n";} foreach ($ ARR AS) $ key => $ value) {echo "key: $ key; value: $ value
/ n";}?>