what are the benefits of closure, primarily for PHP?
- by Patrick
I am beginning the process of moving code over to PHP 5.3 and one of the most highly touted features of PHP 5.3 is the ability to use closures. My understanding of closures is that they allow anonymous functions, can be assigned to variable names, and have interesting scoping abilities.
From my point of view the only seeming benefits in real…