A closure is a programming technique that allows variables outside of the scope of a function to be accessed. In many cases, a closure is created when a function is defined within another function, allowing the inner function to access variables within the outer function.
- Closures, The Term
- Code Rant: What is a Closure?
- PHP inner functions and closure