How does PHP foreach work | Hacker News Reader