Hacker News new | past | comments | ask | show | jobs | submit login
What are php nested functions for? (stackoverflow.com)
1 point by geoka9 on Nov 4, 2010 | hide | past | favorite | 1 comment



I really liked the example by the OP. I think that it's a very strange language quirk where you have nested functions that are both globally scoped and locally defined.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: