What's new in PHP V5.3, Part 2, Closures and lambda functions
From the developerWorks archives
Date archived: January 4, 2017 | First published: December 09, 2008
Follow along in this "What's new in PHP V5.3" series of articles that covers the new and exciting features found in PHP V5.3, which is scheduled to release soon. Part 1 looks at the changes made to the object-oriented programming and object handling in PHP V5.3. Here in Part 2, we look at closures and lambda functions. They are designed to make programming much easier by allowing you to easily define throwaway functions that can be used in many contexts.
This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.