Fix bug #61697 - spl_autoload_functions returns lambda functions incorrectly