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--EXPECT--
16int(0)
17int(0)
18int(1)
19int(1)
20int(2)
21int(2)
22int(3)
23int(3)
24int(4)
25int(4)
26int(5)
27int(5)
28int(6)
29int(6)
30int(7)
31int(7)
32int(8)
33int(8)
34int(9)
35int(9)
36