« Flex and PHP: Party in the Front, Business in the Back | Main | Tuning LAMP systems »

Anonymous PHP functions

The latest Zend newsletter (Issue #333) pointed to a new patch posted by Wez Furelong for anonymous functions in PHP. This would allow users to write things like :

The discussion is detailed in the newsletter, but in short I find the idea very useful to write functions on the fly instead of using create_function() especially if it's for quick usage with other functions such usort.

Bookmark this article at these sites
Post a comment





(Email will remain hidden)





Please enter the security code you see here




Related entries
Email to a friend
Email this article to:


Your email address:


Message (optional):