Closures in PHP
Have you ever wanted to generate functions on the fly with PHP like you can in JavaScript? Well, the short answer is that you can and it has everything to do with closures. I'll break it down briefly for you and then take you through an example, step by step, so you can see just how awesome "use" is in a function definition.