Home
last modified time | relevance | path

Searched refs:iterator (Results 1 – 25 of 315) sorted by path

12345678910>>...13

/php-src/
H A DUPGRADING130 longer implicitly reset the iterator data, unless explicitly rewound.
132 cause an infinite loop because it destroyed the current iterator data.
/php-src/Zend/Optimizer/
H A Dzend_inference.c294 iterator->use = use; in zend_scc_next()
297 iterator->state = 1; in zend_scc_next()
303 iterator->state = 2; in zend_scc_next()
309 iterator->state = 3; in zend_scc_next()
316 iterator->state = 4; in zend_scc_next()
322 iterator->state = 5; in zend_scc_next()
328 iterator->state = 8; in zend_scc_next()
359 iterator->state = 9; in zend_scc_next()
360 iterator->phi = phi; in zend_scc_next()
374 iterator->phi = phi; in zend_scc_next()
[all …]
/php-src/Zend/tests/
H A Darray_splice_empty_ht_iter_removal.phpt2 HT iterator should be destroyed if array becomes empty during array_splice
H A Dbug32674.phpt2 Bug #32674 (exception in iterator causes crash)
H A Dbug48667_1.phpt2 Bug #48667 (Implementing both iterator and iteratoraggregate)
H A Dbug48667_2.phpt2 Bug #48667 (Implementing both iterator and iteratoraggregate)
H A Dbug60138.phpt8 $iterator = new RecursiveIteratorIterator(
12 foreach($iterator as $file);
H A Dbug69201.phpt2 Bug #69201 (Memory leak using iterator and get by reference on PHP 7)
H A Dbug71154.phpt2 Bug #71154: Incorrect HT iterator invalidation causes iterator reuse
8 /* Free array, causing free of iterator */
10 /* Reuse the iterator.
H A Dbug72767.phpt7 $iterator = new LimitIterator(
11 test(...$iterator);
H A Dbug76901.phpt2 Bug #76901: method_exists on SPL iterator passthrough method corrupts memory
H A Dforeach_011.phpt2 sort() functions precerve foreach by reference iterator pointer
H A Dforeach_012.phpt2 array_walk() function precerve foreach by reference iterator pointer
H A Dforeach_013.phpt2 array_push() function precerve foreach by reference iterator pointer
H A Dforeach_014.phpt2 array_pop() function precerve foreach by reference iterator pointer
H A Dforeach_015.phpt2 array_shift() function precerve foreach by reference iterator pointer
H A Dforeach_016.phpt2 array_unshift() function precerve foreach by reference iterator pointer
H A Dforeach_017.phpt2 array_splice() function precerve foreach by reference iterator pointer
H A Dforeach_by_ref_repacking_insert.phpt2 Perform a packed to hash insert when the iterator is at the end of the array
H A Dgc_046.phpt8 private $iterator;
10 $this->iterator = new ArrayIterator($this);
13 $this->iterator = new CallbackFilterIterator($this->iterator, fn() => true);
14 $this->iterator->rewind();
/php-src/Zend/tests/array_unpack/
H A Dstring_keys.phpt10 $iterator = new ArrayIterator([1, 2, "foo" => 3, 4]);
11 var_dump([...$iterator]);
19 // Test numeric string key from iterator.
/php-src/Zend/tests/generators/
H A Dbasic_yield_from_proxying.phpt21 /* iterator API */
H A Dbug70965.phpt2 Bug #70965 (yield from with a common iterator primes too much)
H A Dgc_with_iterator_in_foreach.phpt2 Generator GC triggered with live iterator in foreach
H A Dgh8289.phpt2 GH-8289 (Exceptions thrown within a yielded from iterator are not rethrown into the generator)

Completed in 134 milliseconds

12345678910>>...13