Hacker News new | ask | show | jobs
by pak 5369 days ago
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.