Home
last modified time | relevance | path

Searched refs:iterator (Results 51 – 75 of 493) sorted by relevance

12345678910>>...20

/PHP-7.3/ext/spl/internal/
H A Dcachingiterator.inc18 * This iterator wrapper does a one ahead iteration. This way it knows whether
19 * the inner iterator has one more element.
25 * already changed iterator. If you do not need this then it you should
41 /** Construct from another iterator
89 /** @return whether the iterator is valid
117 /** Aggregate the inner iterator
149 * @return The inner iterator
H A Dappenditerator.inc33 * If the current state is invalid but the appended iterator is valid
74 * the access to a non valid element in the inner iterator. Since
100 return; /* found valid element in current inner iterator */
108 return; /* found element as first elemet in another iterator */
114 /** Aggregates the inner iterator
H A Dsplstack.inc28 * - The behavior of the iterator (either one or the other)
29 * - SplDoublyLnkedList::IT_MODE_DELETE (Elements are deleted by the iterator)
30 * - SplDoublyLnkedList::IT_MODE_KEEP (Elements are traversed by the iterator)
/PHP-7.3/ext/spl/tests/
H A Dbug70868.phpt12 $iterator =
19 foreach ($iterator as $foo) {
H A DDirectoryIterator_by_reference.phpt2 DirectoryIterator: test that you cannot use iterator with reference
14 Fatal error: Uncaught RuntimeException: An iterator cannot be used with foreach by reference in %s:…
H A Dbug73209.phpt14 $iterator = new RecursiveIteratorIterator(new RecursiveArrayIterator($data), RecursiveIteratorItera…
17 foreach($iterator as $k=>$v) {
H A Diterator_count.phpt10 $iterator = new ArrayIterator($array);
15 iterator_count($iterator,'1');
H A Ddllist_002.phpt12 // std iterator
15 // inner iterator
H A DregexIterator_flags_basic.phpt9 $iterator = new ArrayIterator($array);
10 $regexIterator = new RegexIterator($iterator, "/f/", null, RegexIterator::USE_KEY);
H A Diterator_to_array.phpt10 $iterator = new ArrayIterator($array);
15 iterator_to_array($iterator,'test','test');
H A DregexIterator_mode_basic.phpt9 $iterator = new ArrayIterator($array);
10 $regexIterator = new RegexIterator($iterator, "/f/");
/PHP-7.3/ext/standard/tests/strings/
H A Dstrval_basic.phpt42 $iterator = 1;
44 echo "\n-- Iteration $iterator --\n";
46 $iterator++;
H A Dstrip_tags_variation6.phpt27 $iterator = 1;
30 echo "-- Iteration $iterator --\n";
32 $iterator++;
H A Dstrip_tags_variation8.phpt32 $iterator = 1;
35 echo "-- Iteration $iterator --\n";
37 $iterator++;
/PHP-7.3/ext/mbstring/tests/
H A Dmb_encode_mimeheader_variation6.phpt29 $iterator = 1;
31 echo "\n-- Iteration $iterator --\n";
33 $iterator++;
/PHP-7.3/ext/standard/tests/image/
H A Dimage_type_to_mime_type_variation2.phpt34 $iterator = 1;
36 echo "\n-- Iteration $iterator --\n";
38 $iterator++;
/PHP-7.3/ext/spl/
H A Dspl_dllist.c925 spl_dllist_it *iterator = (spl_dllist_it *)iter; in spl_dllist_it_dtor() local
930 zval_ptr_dtor(&iterator->intern.it.data); in spl_dllist_it_dtor()
990 …spl_dllist_it_helper_rewind(&iterator->traverse_pointer, &iterator->traverse_position, llist, obje… in spl_dllist_it_rewind()
1020 ZVAL_LONG(key, iterator->traverse_position); in spl_dllist_it_get_current_key()
1031 …spl_dllist_it_helper_move_forward(&iterator->traverse_pointer, &iterator->traverse_position, objec… in spl_dllist_it_move_forward()
1298 spl_dllist_it *iterator; in spl_dllist_get_iterator() local
1306 iterator = emalloc(sizeof(spl_dllist_it)); in spl_dllist_get_iterator()
1310 ZVAL_COPY(&iterator->intern.it.data, object); in spl_dllist_get_iterator()
1312 iterator->intern.ce = ce; in spl_dllist_get_iterator()
1316 ZVAL_UNDEF(&iterator->intern.value); in spl_dllist_get_iterator()
[all …]
/PHP-7.3/ext/spl/examples/
H A Dkeyfilter.inc18 * are strings. In other words you can put an iterator into the constructor
28 * Constructs a filter around an iterator whose elemnts are strings.
29 * If the given iterator is of type spl_sequence then its rewind()
/PHP-7.3/tests/lang/
H A DforeachLoopIterator.002.phpt2 foreach with iterator and &$value reference
24 Fatal error: Uncaught Error: An iterator cannot be used with foreach by reference in %s:13
/PHP-7.3/ext/session/tests/
H A Dsession_cache_expire_error.phpt84 $iterator = 1;
86 echo "\n-- Iteration $iterator --\n";
88 $iterator++;
/PHP-7.3/ext/standard/tests/general_functions/
H A Descapeshellarg_variation1-win32.phpt70 $iterator = 1;
72 echo "\n-- Iteration $iterator --\n";
74 $iterator++;
H A Descapeshellarg_variation1.phpt70 $iterator = 1;
72 echo "\n-- Iteration $iterator --\n";
74 $iterator++;
/PHP-7.3/ext/standard/tests/math/
H A Dbase_convert_variation1.phpt71 $iterator = 1;
73 echo "\n-- Iteration $iterator --\n";
75 $iterator++;
H A Dceil_variation1.phpt67 $iterator = 1;
69 echo "\n-- Iteration $iterator --\n";
71 $iterator++;
H A Dfloor_variation1.phpt67 $iterator = 1;
69 echo "\n-- Iteration $iterator --\n";
71 $iterator++;

Completed in 47 milliseconds

12345678910>>...20