0v1.ro

(zero V unu)

Foreach with reference

If you iterate over an array with & you should unset the value variable after to not modify the array accidentally after.

Should do like this