My attempt on functional programming in PHP | Hacker News Reader