Lines Matching refs:new
6 $it = new ArrayIterator([1, 2, 3]);
11 $it2 = new CallbackFilterIterator($it, function($elem) use(&$it2) {
16 new class {
19 $it = new ArrayIterator([1, 2, 3]);
20 $this->it = new CallbackFilterIterator($it, function($elem) {
27 $it = new RecursiveArrayIterator([1, 2, 3]);
28 $it2 = new RecursiveCallbackFilterIterator($it, function($elem) use(&$it2) {
33 $it = new ArrayIterator();
34 $it2 = new CachingIterator($it, CachingIterator::FULL_CACHE);
39 $it = new RecursiveArrayIterator();
40 $it2 = new RecursiveCachingIterator($it, CachingIterator::FULL_CACHE);
45 $it = new ArrayIterator();
46 $it2 = new AppendIterator();
51 $it = new RecursiveArrayIterator([1, 2, 3]);
52 $it2 = new RecursiveIteratorIterator($it);
56 $it = new RecursiveArrayIterator([[1]]);
57 $it2 = new RecursiveIteratorIterator($it);