Hi I'm bit confused about how foreach works technically in PHP. Is it directly using the source array or is it working with a copy of the source array?
Please refer this great explanation.
It looks like you're new here. If you want to get involved, click one of these buttons!