note 115892 added to functions.anonymous

From: Date: Fri, 10 Oct 2014 16:12:13 +0000
Subject: note 115892 added to functions.anonymous
Groups: php.notes 
Request: Send a blank email to php-notes+get-200619@lists.php.net to get a copy of this message
Doesn't anyone else think Closure is used here with an appropriate 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. ---- Server IP: 72.52.91.14 Probable Submitter: 217.133.99.60 ---- Manual Page -- http://php.net/manual/en/functions.anonymous.php Edit -- https://master.php.net/note/edit/115892 Del: integrated -- https://master.php.net/note/delete/115892/integrated Del: useless -- https://master.php.net/note/delete/115892/useless Del: bad code -- https://master.php.net/note/delete/115892/bad+code Del: spam -- https://master.php.net/note/delete/115892/spam Del: non-english -- https://master.php.net/note/delete/115892/non-english Del: in docs -- https://master.php.net/note/delete/115892/in+docs Del: other reasons-- https://master.php.net/note/delete/115892 Reject -- https://master.php.net/note/reject/115892 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#200619) next »