Searched refs:iterator (Results 201 – 225 of 315) sorted by last modified time
12345678910>>...13
5 $iterator = new FilesystemIterator(__DIR__, FilesystemIterator::KEY_AS_FILENAME);6 foreach ($iterator as $key => $value) {10 $iterator->rewind();11 echo var_dump(hasSeparator($iterator->key()));13 $iterator->setFlags(0);14 echo var_dump(hasSeparator($iterator->key()));16 $iterator->setFlags(FilesystemIterator::KEY_AS_FILENAME);17 echo var_dump(hasSeparator($iterator->key()));
12 // std iterator15 // inner iterator
2 SPL: DoublyLinkedList: iterator modes
2 SPL: DoublyLinkedList: memory leak when iterator pointer isn't at the last element
34 /** construct iterator from two iterators
5 $iterator = new FilesystemIterator(__DIR__);6 foreach ($iterator as $value) {
73 string(52) "An iterator cannot be used with foreach by reference"
2 SPL: SplHeap and friends, throw: An iterator cannot be used with foreach by reference49 An iterator cannot be used with foreach by reference50 An iterator cannot be used with foreach by reference51 An iterator cannot be used with foreach by reference52 An iterator cannot be used with foreach by reference53 An iterator cannot be used with foreach by reference54 An iterator cannot be used with foreach by reference
2 SPL: Iterator aggregating inner iterator's methods
84 // iterator's __toString() method.
2 Bug #42703 (Exception raised in an iterator::current() causes segfault in FilterIterator)
6 $iterator = new AppendIterator();7 $iterator->undefined();
11 // The tested iterator is in an invalid state; the behaviour of most of its methods is undefined40 // It must not throw LogicException when the iterator is not valid74 // When the iterator is not valid, the behaviour of the next methods is undefined
50 // Recursive iterator55 // Recursive iterator at level>0.
10 $iterator =17 foreach ($iterator as $foo) {
2 SPL: ArrayObject::__construct with bad iterator.5 echo "Bad iterator type:\n";22 Bad iterator type:
2 SPL: ArrayObject with bad iterator class.
29 Fatal error: Uncaught Error: An iterator cannot be used with foreach by reference in %s:%d
2 ArrayObject::__serialize saves any iterator class set by ::setIteratorClass
2 DirectoryIterator: test that you cannot use iterator with reference14 Fatal error: Uncaught Error: An iterator cannot be used with foreach by reference in %s:%d
2 Check Glob iterator is okay with SplFileInfo getPath method calls
14 $iterator = new RecursiveDirectoryIterator(__DIR__ . DIRECTORY_SEPARATOR . $depth0);15 $it = new RecursiveIteratorIterator($iterator);
16 $iterator = new RecursiveDirectoryIterator(__DIR__ . DIRECTORY_SEPARATOR . $depth0);17 $it = new RecursiveIteratorIterator($iterator);
26 An iterator cannot be used with foreach by reference
49 function iterator_apply(Traversable $iterator, callable $callback, ?array $args = null): int {} argument51 function iterator_count(iterable $iterator): int {} argument53 function iterator_to_array(iterable $iterator, bool $preserve_keys = true): array {} argument
Completed in 45 milliseconds