07-16-2009, 08:40 AM
|
#3 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
That type of anonymous function creates an instance of the Closure class, which has the magic __invoke method used when the function is called. Only that type of anonymous function is an object, regular plain old functions are not.
|
|
|
|