This question i found here has multiple accepted answers. How come this is possible. Also note that none of the answers are moved to the top. http://stackoverflow.com/questions/3896227/foreach-for-an-array/3896240#3896240 [![enter image description here][1]][1] [1]: https://i.sstatic.net/mbHJK.png