note 115892 deleted from functions.anonymous by cmb
| From: | cmb@php.net | Date: | Sun, 11 Aug 2019 11:38:02 +0000 |
| Subject: | note 115892 deleted from functions.anonymous by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211843@lists.php.net to get a copy of this message | ||
Note Submitter: inaitana
----
Doesn't anyone else think Closure is used here with an inappropriate meaning?
Isn't closure just the concept of being able to reference the outer function environment from
the inner function, as in example #3?
It's commonly used with anonymous functions, but from what I know it's not the same thing
as an anonymous function.
"Lambda functions" might be another name for anonymous functions, not
"Closures".
I mean, a named function could employ closure too.
And anonymous functions don't necessarily support closure in all languages.