1--TEST--
2Testing calls to anonymous function
3--FILE--
4<?php
5
6for ($i = 0; $i < 10; $i++) {
7	$a = create_function('', 'return '. $i .';');
8	var_dump($a());
9
10	$b = "\0lambda_". ($i + 1);
11	var_dump($b());
12}
13
14?>
15--EXPECTF--
16Deprecated: Function create_function() is deprecated in %s on line %d
17int(0)
18int(0)
19
20Deprecated: Function create_function() is deprecated in %s on line %d
21int(1)
22int(1)
23
24Deprecated: Function create_function() is deprecated in %s on line %d
25int(2)
26int(2)
27
28Deprecated: Function create_function() is deprecated in %s on line %d
29int(3)
30int(3)
31
32Deprecated: Function create_function() is deprecated in %s on line %d
33int(4)
34int(4)
35
36Deprecated: Function create_function() is deprecated in %s on line %d
37int(5)
38int(5)
39
40Deprecated: Function create_function() is deprecated in %s on line %d
41int(6)
42int(6)
43
44Deprecated: Function create_function() is deprecated in %s on line %d
45int(7)
46int(7)
47
48Deprecated: Function create_function() is deprecated in %s on line %d
49int(8)
50int(8)
51
52Deprecated: Function create_function() is deprecated in %s on line %d
53int(9)
54int(9)
55