18 ms·
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.ano
by pak 15y 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 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.