Patrick Logan points to an article containing this example:
function quoteWords()
{
return array_map('quoteWordsHelper',
function ($string) {
return preg_replace('/(\w)/','"$1"',$string);
});
}
There's little doubt lambda functions and closures have become mainstream if they're in PHP :-)
and c++0x :)