Your code breaks on any PHP "callable" http://php.net/manual/en/language.types.callable.php of which Closures are just one.
Although it seems PHP tried to treat it as a string callable IIRC.
Your code breaks on any PHP "callable" http://php.net/manual/en/language.types.callable.php of which Closures are just one.