It returns an object named Closure, functions are objects now?
"The reasonable man adapts himself to the conditions that surround him... The unreasonable man adapts surrounding conditions to himself... All progress depends on the unreasonable man." - George Bernard Shaw
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.
The Following User Says Thank You to Salathe For This Useful Post: