Re: [PHP-DOC] Anonymous functions is equal to lambda not closure

2010-02-24 Thread Keryx Web
2010-02-23 13:44, Hannes Magnusson skrev: On Tue, Feb 23, 2010 at 13:07, Keryx Web wrote: Re this page: http://php.net/manual/en/functions.anonymous.php Closures (as described on that page) in PHP are actually closures. We already have lambda functions.. Unless scope is inherited a functio

Re: [PHP-DOC] Anonymous functions is equal to lambda not closure

2010-02-23 Thread Hannes Magnusson
On Tue, Feb 23, 2010 at 13:07, Keryx Web wrote: > Hello > > Re this page: > http://php.net/manual/en/functions.anonymous.php > > Outside the world of PHP nobody seem to be using the word closure as if it > was a synonym to anonymous function. [...] > I think that the PHP community perhaps calls an

[PHP-DOC] Anonymous functions is equal to lambda not closure

2010-02-23 Thread Keryx Web
Hello Re this page: http://php.net/manual/en/functions.anonymous.php Outside the world of PHP nobody seem to be using the word closure as if it was a synonym to anonymous function. I will provide some examples: cite="https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Working_with_Clo