1--TEST--
2Dumping closures includes the name.
3--FILE--
4<?php
5var_dump(function($foo) { });
6?>
7--EXPECTF--
8object(Closure)#1 (4) {
9  ["name"]=>
10  string(%d) "{closure:%s:2}"
11  ["file"]=>
12  string(%d) "%s"
13  ["line"]=>
14  int(%d)
15  ["parameter"]=>
16  array(1) {
17    ["$foo"]=>
18    string(10) "<required>"
19  }
20}
21