Home
last modified time | relevance | path

Searched refs:Iterator (Results 1 – 25 of 136) sorted by relevance

123456

/PHP-8.0/ext/spl/
H A Dspl_iterators.stub.php5 class EmptyIterator implements Iterator
25 public function __construct(Iterator $iterator, callable $callback) {}
45 interface RecursiveIterator extends Iterator
110 interface OuterIterator extends Iterator
112 /** @return Iterator|null */
120 /** @return Iterator|null */
144 public function __construct(Iterator $iterator) {}
175 interface SeekableIterator extends Iterator
269 public function __construct(Iterator $iterator) {}
292 public function append(Iterator $iterator) {}
[all …]
H A Dspl_observer.stub.php23 class SplObjectStorage implements Countable, Iterator, Serializable, ArrayAccess
113 class MultipleIterator implements Iterator
124 public function attachIterator(Iterator $iterator, string|int|null $info = null) {}
127 public function detachIterator(Iterator $iterator) {}
130 public function containsIterator(Iterator $iterator) {}
H A Dspl_heap.stub.php5 class SplPriorityQueue implements Iterator, Countable
80 abstract class SplHeap implements Iterator, Countable
/PHP-8.0/ext/standard/tests/array/
H A Darray_intersect_variation2.phpt90 echo "\n-- Iterator $iterator --";
117 -- Iterator 1 --array_intersect(): Argument #2 must be of type array, int given
120 -- Iterator 2 --array_intersect(): Argument #2 must be of type array, int given
123 -- Iterator 3 --array_intersect(): Argument #2 must be of type array, int given
126 -- Iterator 4 --array_intersect(): Argument #2 must be of type array, int given
129 -- Iterator 5 --array_intersect(): Argument #2 must be of type array, float given
132 -- Iterator 6 --array_intersect(): Argument #2 must be of type array, float given
135 -- Iterator 7 --array_intersect(): Argument #2 must be of type array, float given
138 -- Iterator 8 --array_intersect(): Argument #2 must be of type array, float given
141 -- Iterator 9 --array_intersect(): Argument #2 must be of type array, float given
[all …]
H A Darray_intersect_variation6.phpt76 -- Iterator 1 --
81 -- Iterator 2 --
86 -- Iterator 3 --
95 -- Iterator 4 --
104 -- Iterator 5 --
113 -- Iterator 6 --
122 -- Iterator 7 --
135 -- Iterator 8 --
148 -- Iterator 9 --
161 -- Iterator 10 --
[all …]
H A Darray_intersect_variation1.phpt90 echo "\n-- Iterator $iterator --";
116 -- Iterator 1 --array_intersect(): Argument #1 ($array) must be of type array, int given
119 -- Iterator 2 --array_intersect(): Argument #1 ($array) must be of type array, int given
122 -- Iterator 3 --array_intersect(): Argument #1 ($array) must be of type array, int given
125 -- Iterator 4 --array_intersect(): Argument #1 ($array) must be of type array, int given
128 -- Iterator 5 --array_intersect(): Argument #1 ($array) must be of type array, float given
131 -- Iterator 6 --array_intersect(): Argument #1 ($array) must be of type array, float given
134 -- Iterator 7 --array_intersect(): Argument #1 ($array) must be of type array, float given
137 -- Iterator 8 --array_intersect(): Argument #1 ($array) must be of type array, float given
140 -- Iterator 9 --array_intersect(): Argument #1 ($array) must be of type array, float given
[all …]
H A Darray_intersect_variation5.phpt76 -- Iterator 1 --
81 -- Iterator 2 --
86 -- Iterator 3 --
95 -- Iterator 4 --
104 -- Iterator 5 --
113 -- Iterator 6 --
122 -- Iterator 7 --
135 -- Iterator 8 --
148 -- Iterator 9 --
161 -- Iterator 10 --
[all …]
H A Darray_intersect_variation3.phpt100 -- Iterator 1 --
113 -- Iterator 2 --
122 -- Iterator 3 --
135 -- Iterator 4 --
140 -- Iterator 5 --
149 -- Iterator 6 --
160 -- Iterator 7 --
169 -- Iterator 8 --
198 -- Iterator 9 --
211 -- Iterator 10 --
[all …]
H A Darray_intersect_variation7.phpt87 -- Iterator 1 --
92 -- Iterator 2 --
97 -- Iterator 3 --
106 -- Iterator 4 --
119 -- Iterator 5 --
128 -- Iterator 6 --
137 -- Iterator 7 --
146 -- Iterator 8 --
155 -- Iterator 9 --
164 -- Iterator 10 --
[all …]
H A Darray_intersect_variation8.phpt87 -- Iterator 1 --
92 -- Iterator 2 --
97 -- Iterator 3 --
106 -- Iterator 4 --
119 -- Iterator 5 --
128 -- Iterator 6 --
137 -- Iterator 7 --
146 -- Iterator 8 --
155 -- Iterator 9 --
168 -- Iterator 10 --
[all …]
/PHP-8.0/ext/spl/tests/
H A Dbug67360.phpt9 $Iterator = $ArrayObject->getIterator();
10 var_dump(count($Iterator) === count($array));
11 var_dump(iterator_to_array($Iterator));
H A Ddualiterator.inc17 class DualIterator implements Iterator
36 * @param lhs Left Hand Side Iterator
37 * @param rhs Right Hand Side Iterator
40 function __construct(Iterator $lhs, Iterator $rhs,
48 /** @return Left Hand Side Iterator
55 /** @return Right Hand Side Iterator
157 * @param lhs Left Hand Side Iterator
158 * @param rhs Right Hand Side Iterator
165 static function compareIterators(Iterator $lhs, Iterator $rhs,
H A Diterator_058.phpt2 SPL: Iterator::__construct(void)
7 class myIterator implements Iterator {
H A Diterator_068.phpt2 SPL: Iterator: Overloaded object and destruction
6 class Test implements Iterator {
/PHP-8.0/tests/lang/
H A DforeachLoopIteratorAggregate.002.phpt48 30: Objects returned by bad1::getIterator() must be traversable or implement interface Iterator
49 30: Objects returned by bad2::getIterator() must be traversable or implement interface Iterator
50 30: Objects returned by bad3::getIterator() must be traversable or implement interface Iterator
51 30: Objects returned by bad4::getIterator() must be traversable or implement interface Iterator
/PHP-8.0/Zend/tests/return_types/
H A D016.phpt9 function foo(\Iterator $i): \Iterator {
H A Dgenerators005.phpt6 function getIterator(): Iterator;
10 function getIterator(): Iterator {
/PHP-8.0/Zend/tests/
H A Dbug48667_1.phpt6 abstract class A implements Iterator, IteratorAggregate { }
10 Fatal error: Class A cannot implement both Iterator and IteratorAggregate at the same time in %s on…
H A Dbug48667_2.phpt6 abstract class A implements IteratorAggregate, Iterator { }
10 Fatal error: Class A cannot implement both Iterator and IteratorAggregate at the same time in %s on…
H A Dbug49269.phpt2 Bug #49269 (Ternary operator fails on Iterator object when used inside foreach declaration).
5 class TestObject implements Iterator
H A Dbug32993.phpt2 Bug #32993 (implemented Iterator function current() don't throw exception)
5 class Test implements Iterator {
/PHP-8.0/Zend/
H A Dzend_interfaces_arginfo.h76 …ZEND_ABSTRACT_ME_WITH_FLAGS(Iterator, current, arginfo_class_Iterator_current, ZEND_ACC_PUBLIC|ZEN…
77 …ZEND_ABSTRACT_ME_WITH_FLAGS(Iterator, next, arginfo_class_Iterator_next, ZEND_ACC_PUBLIC|ZEND_ACC_…
78 …ZEND_ABSTRACT_ME_WITH_FLAGS(Iterator, key, arginfo_class_Iterator_key, ZEND_ACC_PUBLIC|ZEND_ACC_AB…
79 …ZEND_ABSTRACT_ME_WITH_FLAGS(Iterator, valid, arginfo_class_Iterator_valid, ZEND_ACC_PUBLIC|ZEND_AC…
80 …ZEND_ABSTRACT_ME_WITH_FLAGS(Iterator, rewind, arginfo_class_Iterator_rewind, ZEND_ACC_PUBLIC|ZEND_…
H A Dzend_interfaces.stub.php13 interface Iterator extends Traversable interface
69 final class InternalIterator implements Iterator
/PHP-8.0/ext/reflection/tests/
H A DReflectionClass_isIterateable_001.phpt8 Interface ExtendsIterator extends Iterator {
12 Class IteratorImpl implements Iterator {
29 $classes = array('Traversable', 'Iterator', 'IteratorAggregate', 'ExtendsIterator', 'ExtendsIterato…
44 Is Iterator iterable? bool(false)
/PHP-8.0/Zend/tests/type_declarations/
H A Dtyped_properties_076.phpt17 public Iterator $Iterator;
62 valid($test, 'iterable', 'Iterator', new ArrayIterator);
63 invalid($test, 'Iterator', 'iterable', [1, 2, 3]);

Completed in 26 milliseconds

123456