Hacker News new | past | comments | ask | show | jobs | submit login

You're right, both things that the author claimed are lacking are in fact very much available.

PHP >5.3 has lambdas: http://ca3.php.net/manual/en/functions.anonymous.php

PHP >5 can support easy method chaining if you return $this from your method.

Lambdas are not yet common, but method chaining is already easy to find in most well-designed PHP libraries and frameworks.




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

Search: