Home
last modified time | relevance | path

Searched refs:iterator (Results 201 – 225 of 315) sorted by last modified time

12345678910>>...13

/php-src/ext/spl/tests/
H A Dbug80724.phpt5 $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()));
H A Ddllist_002.phpt12 // std iterator
15 // inner iterator
H A Ddllist_003.phpt2 SPL: DoublyLinkedList: iterator modes
H A Ddllist_memleak.phpt2 SPL: DoublyLinkedList: memory leak when iterator pointer isn't at the last element
H A Ddualiterator.inc34 /** construct iterator from two iterators
H A Dfilesystemiterator_leak.phpt5 $iterator = new FilesystemIterator(__DIR__);
6 foreach ($iterator as $value) {
H A Dfixedarray_021.phpt73 string(52) "An iterator cannot be used with foreach by reference"
H A Dheap_009.phpt2 SPL: SplHeap and friends, throw: An iterator cannot be used with foreach by reference
49 An iterator cannot be used with foreach by reference
50 An iterator cannot be used with foreach by reference
51 An iterator cannot be used with foreach by reference
52 An iterator cannot be used with foreach by reference
53 An iterator cannot be used with foreach by reference
54 An iterator cannot be used with foreach by reference
H A Diterator_001.phpt2 SPL: Iterator aggregating inner iterator's methods
H A Diterator_003.phpt84 // iterator's __toString() method.
H A Dbug42703.phpt2 Bug #42703 (Exception raised in an iterator::current() causes segfault in FilterIterator)
H A Dbug49972.phpt6 $iterator = new AppendIterator();
7 $iterator->undefined();
H A Dbug55701.phpt11 // The tested iterator is in an invalid state; the behaviour of most of its methods is undefined
40 // It must not throw LogicException when the iterator is not valid
74 // When the iterator is not valid, the behaviour of the next methods is undefined
H A Dbug65387.phpt50 // Recursive iterator
55 // Recursive iterator at level>0.
H A Dbug70868.phpt10 $iterator =
17 foreach ($iterator as $foo) {
H A DarrayObject___construct_error1.phpt2 SPL: ArrayObject::__construct with bad iterator.
5 echo "Bad iterator type:\n";
22 Bad iterator type:
H A DarrayObject_setIteratorClass_error1.phpt2 SPL: ArrayObject with bad iterator class.
H A Darray_019.phpt29 Fatal error: Uncaught Error: An iterator cannot be used with foreach by reference in %s:%d
H A DArrayObject__serialize_saves_iterator_class.phpt2 ArrayObject::__serialize saves any iterator class set by ::setIteratorClass
H A DDirectoryIterator_by_reference.phpt2 DirectoryIterator: test that you cannot use iterator with reference
14 Fatal error: Uncaught Error: An iterator cannot be used with foreach by reference in %s:%d
H A DGlobIterator_internal_null_pointer.phpt2 Check Glob iterator is okay with SplFileInfo getPath method calls
H A DRecursiveDirectoryIterator_getSubPath_basic.phpt14 $iterator = new RecursiveDirectoryIterator(__DIR__ . DIRECTORY_SEPARATOR . $depth0);
15 $it = new RecursiveIteratorIterator($iterator);
H A DRecursiveDirectoryIterator_getSubPathname_basic.phpt16 $iterator = new RecursiveDirectoryIterator(__DIR__ . DIRECTORY_SEPARATOR . $depth0);
17 $it = new RecursiveIteratorIterator($iterator);
H A DSPLDoublyLinkedList_iterate_by_reference.phpt26 An iterator cannot be used with foreach by reference
/php-src/ext/spl/
H A Dphp_spl.stub.php49 function iterator_apply(Traversable $iterator, callable $callback, ?array $args = null): int {} argument
51 function iterator_count(iterable $iterator): int {} argument
53 function iterator_to_array(iterable $iterator, bool $preserve_keys = true): array {} argument

Completed in 45 milliseconds

12345678910>>...13