I don't see the point in anonymous functions. Could someone enlighten me to how they are an improvement?
I can't think of a situation where an anonymous function would be required which cannot be done any other way, so it'll certainly be possibly to continue life without ever using an anonymous PHP function.
However, I see the three following scripts and prefer the new anonymous function one. It's a silly example script but I think it gets the point across.
PHP 6.0 is planned to be released as next major updated, and after 6.0 its been suggested to develop a 5.4 release to ease the upgrade to PHP 6.0 in the end, whilst thats a good idea for the user, i dont see a reason to develop a 5.4 because hosts will rather upgrade to a 5.4 than a new major.
People are taking advantage of "beta"'s and writing books on them saying that they are finished products. (They are correct of course in that the book is finished not the code, thats how they get away with it.)