Lines Matching refs:new
6 $it = new ArrayIterator([1, 2, 3]);
11 $it2 = new CallbackFilterIterator($it, function($elem) use(&$it2) {
16 new class {
18 $it = new ArrayIterator([1, 2, 3]);
19 $this->it = new CallbackFilterIterator($it, function($elem) {
26 $it = new RecursiveArrayIterator([1, 2, 3]);
27 $it2 = new RecursiveCallbackFilterIterator($it, function($elem) use(&$it2) {
32 $it = new ArrayIterator();
33 $it2 = new CachingIterator($it, CachingIterator::FULL_CACHE);
38 $it = new RecursiveArrayIterator();
39 $it2 = new RecursiveCachingIterator($it, CachingIterator::FULL_CACHE);
44 $it = new ArrayIterator();
45 $it2 = new AppendIterator();
50 $it = new RecursiveArrayIterator([1, 2, 3]);
51 $it2 = new RecursiveIteratorIterator($it);
55 $it = new RecursiveArrayIterator([[1]]);
56 $it2 = new RecursiveIteratorIterator($it);