Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Another one of nikic's seminal guides into the workings of PHP. It was him who wrote the foreach guide on StackOverflow http://stackoverflow.com/a/14854568/308851 .

Another note: if I ever catch you using these cute "finally ... interesting edge-cases" described in this article, your PR will be refused. Yes, yes, it's very smart, and you might win an obfuscation contest but in a professional environment we like code that can be understood even when the emergency phone kicks us out of bed. If it's five times as long, I care not, but if it requires me to think hard on the code, I do.



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

Search: