/php-src/ext/standard/tests/array/ |
H A D | array_intersect_variation2.phpt | 90 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 D | array_intersect_variation1.phpt | 90 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 D | array_intersect_variation3.phpt | 100 -- 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 D | array_intersect_variation6.phpt | 55 echo "-- Iterator $iterator --\n"; 70 -- Iterator 1 -- 75 -- Iterator 2 -- 80 -- Iterator 3 -- 89 -- Iterator 4 -- 98 -- Iterator 5 -- 111 -- Iterator 6 -- 124 -- Iterator 7 -- 137 -- Iterator 8 -- 146 -- Iterator 9 --
|
H A D | array_intersect_variation5.phpt | 55 echo "-- Iterator $iterator --\n"; 70 -- Iterator 1 -- 75 -- Iterator 2 -- 80 -- Iterator 3 -- 89 -- Iterator 4 -- 98 -- Iterator 5 -- 111 -- Iterator 6 -- 124 -- Iterator 7 -- 137 -- Iterator 8 -- 146 -- Iterator 9 --
|
H A D | array_intersect_variation7.phpt | 87 -- 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 D | array_intersect_variation8.phpt | 87 -- 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-src/ext/spl/ |
H A D | spl_iterators.stub.php | 5 class EmptyIterator implements Iterator 25 public function __construct(Iterator $iterator, callable $callback) {} 45 interface RecursiveIterator extends Iterator 119 interface OuterIterator extends Iterator 122 public function getInnerIterator(): ?Iterator; 130 public function getInnerIterator(): ?Iterator {} 153 public function __construct(Iterator $iterator) {} 184 interface SeekableIterator extends Iterator 291 public function __construct(Iterator $iterator) {} 314 public function append(Iterator $iterator): void {} [all …]
|
H A D | spl_observer.stub.php | 116 class MultipleIterator implements Iterator 136 public function attachIterator(Iterator $iterator, string|int|null $info = null): void {} 139 public function detachIterator(Iterator $iterator): void {} 142 public function containsIterator(Iterator $iterator): bool {}
|
/php-src/ext/spl/tests/ |
H A D | bug67360.phpt | 9 $Iterator = $ArrayObject->getIterator(); 10 var_dump(count($Iterator) === count($array)); 11 var_dump(iterator_to_array($Iterator));
|
H A D | iterator_count_exception.phpt | 2 SPL: iterator_count() throws if the Iterator throws 8 throw new Exception('Iterator failed'); 15 Fatal error: Uncaught Exception: Iterator failed in %siterator_count_exception.php:5
|
H A D | dualiterator.inc | 17 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 D | iterator_058.phpt | 2 SPL: Iterator::__construct(void) 7 class myIterator implements Iterator {
|
H A D | iterator_068.phpt | 2 SPL: Iterator: Overloaded object and destruction 6 class Test implements Iterator {
|
/php-src/tests/lang/ |
H A D | foreachLoopIteratorAggregate.002.phpt | 52 34: Objects returned by bad1::getIterator() must be traversable or implement interface Iterator 53 34: Objects returned by bad2::getIterator() must be traversable or implement interface Iterator 54 34: Objects returned by bad3::getIterator() must be traversable or implement interface Iterator 55 34: Objects returned by bad4::getIterator() must be traversable or implement interface Iterator
|
/php-src/ext/zend_test/tests/ |
H A D | internal_dnf_arguments.phpt | 27 string(32) "Iterator|(Traversable&Countable)" 28 string(32) "Iterator|(Traversable&Countable)" 29 zend_test_internal_dnf_arguments(): Argument #1 ($arg) must be of type Iterator|(Traversable&Counta…
|
/php-src/Zend/tests/return_types/ |
H A D | 016.phpt | 9 function foo(\Iterator $i): \Iterator {
|
H A D | generators005.phpt | 6 function getIterator(): Iterator; 10 function getIterator(): Iterator {
|
/php-src/Zend/tests/ |
H A D | bug48667_1.phpt | 6 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 D | bug48667_2.phpt | 6 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 D | bug49269.phpt | 2 Bug #49269 (Ternary operator fails on Iterator object when used inside foreach declaration). 5 class TestObject implements Iterator
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_isIterateable_001.phpt | 8 Interface ExtendsIterator extends Iterator { 12 Class IteratorImpl implements Iterator { 29 $classes = array('Traversable', 'Iterator', 'IteratorAggregate', 'ExtendsIterator', 'ExtendsIterato… 44 Is Iterator iterable? bool(false)
|
/php-src/Zend/ |
H A D | zend_interfaces.stub.php | 13 interface Iterator extends Traversable interface 72 final class InternalIterator implements Iterator
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_076.phpt | 17 public Iterator $Iterator; 62 valid($test, 'iterable', 'Iterator', new ArrayIterator); 63 invalid($test, 'Iterator', 'iterable', [1, 2, 3]);
|
/php-src/ext/simplexml/tests/ |
H A D | current_error.phpt | 35 Iterator not initialized or already consumed 39 Iterator not initialized or already consumed
|