/PHP-8.1/tests/lang/ |
H A D | foreachLoopIteratorAggregate.002.phpt | 2 IteratorAggregate::getIterator bad return type 8 function getIterator() { 15 function getIterator() { 22 function getIterator() { 29 function getIterator() { 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
|
H A D | foreachLoopIteratorAggregate.004.phpt | 48 function getIterator(): Traversable { 69 c::getIterator 75 c::getIterator 85 c::getIterator 95 c::getIterator
|
/PHP-8.1/Zend/tests/return_types/ |
H A D | generators003.phpt | 6 function getIterator(): Iterator; 10 function getIterator(): Generator { 18 echo get_class($some->getIterator());
|
H A D | generators005.phpt | 6 function getIterator(): Iterator; 10 function getIterator(): Iterator { 18 var_dump($some->getIterator());
|
/PHP-8.1/Zend/tests/ |
H A D | bug26229.phpt | 2 Bug #26229 (getIterator() segfaults when it returns arrays or scalars) 8 public function getIterator() { 28 Objects returned by array_iterator::getIterator() must be traversable or implement interface Iterat…
|
H A D | bug30725.phpt | 2 Bug #30725 (PHP segfaults when an exception is thrown in getIterator() within foreach) 8 function getIterator(): Traversable
|
/PHP-8.1/Zend/tests/arg_unpack/ |
H A D | traversable_throwing_exception.phpt | 11 public function getIterator(): Traversable { 12 throw new Exception('getIterator'); 32 string(11) "getIterator"
|
/PHP-8.1/ext/date/tests/ |
H A D | DatePeriod_IteratorAggregate.phpt | 12 foreach ($period->getIterator() as $i => $date) { 17 $iter = $period->getIterator(); 37 // Extension that does not overwrite getIterator(). 47 // Extension that does overwrite getIterator(). 49 public function getIterator(): Iterator {
|
H A D | DatePeriod_no_advance_on_valid.phpt | 10 $iterator = $period->getIterator(); 24 $iterator = $period->getIterator();
|
/PHP-8.1/ext/spl/tests/ |
H A D | iterator_005.phpt | 24 function getIterator(): Iterator 27 return parent::getIterator(); 45 ArrayObjectEx::getIterator
|
H A D | bug61527.phpt | 6 $ai = $ao->getIterator(); 15 $ai2 = $ao2->getIterator(); 46 $ai3 = $ao3->getIterator(); 51 $ai4 = $ao4->getIterator();
|
H A D | SplFixedArray_override_getIterator.phpt | 2 SPL: FixedArray: overriding getIterator() 7 public function getIterator(): Iterator 9 $iterator = parent::getIterator();
|
H A D | RecursiveIteratorIterator_invalid_aggregate.phpt | 8 function getIterator() { 21 MyIteratorAggregate::getIterator() must return an object that implements Traversable
|
H A D | bug67360.phpt | 2 Bug #67360 (Missing element after ArrayObject::getIterator) 9 $Iterator = $ArrayObject->getIterator();
|
H A D | iterator_003.phpt | 34 FilterIterator::__construct($students->getIterator()); 72 public function getIterator(): Traversable { 73 return new CachingIterator($this->students->getIterator(), true); 85 $it = $students->getIterator();
|
H A D | array_007.phpt | 21 function getIterator(): Traversable 24 return $it->getIterator(); 33 print_r($test->getIterator());
|
H A D | bug52238.phpt | 11 public function getIterator(): Traversable { 21 #1 [internal function]: Foo->getIterator()
|
H A D | array_005.phpt | 34 FilterIterator::__construct($students->getIterator()); 72 public function getIterator(): Traversable { 73 return $this->students->getIterator();
|
/PHP-8.1/tests/classes/ |
H A D | iterators_001.phpt | 45 function getIterator(): Traversable { 60 for ($iter = $t->getIterator(); $iter->valid(); $iter->next()) { 90 c::getIterator 106 c::getIterator 122 c::getIterator 126 c::getIterator 144 c::getIterator 162 c::getIterator 180 c::getIterator
|
H A D | iterators_002.phpt | 49 function getIterator(): Traversable { 72 c::getIterator 78 c::getIterator 89 c::getIterator 100 c::getIterator
|
H A D | iterators_003.phpt | 39 function getIterator(): Traversable { 72 c::getIterator 81 c::getIterator 98 c::getIterator
|
/PHP-8.1/ext/zend_test/ |
H A D | iterators_arginfo.h | 12 static ZEND_METHOD(ZendTest_Iterators_TraversableTest, getIterator); 17 …ZEND_ME(ZendTest_Iterators_TraversableTest, getIterator, arginfo_class_ZendTest_Iterators_Traversa…
|
H A D | iterators.stub.php | 13 public function getIterator(): \Iterator {} function in ZendTest\\Iterators\\TraversableTest
|
/PHP-8.1/Zend/tests/type_declarations/ |
H A D | typed_properties_034.phpt | 9 public function &getIterator() { 28 foreach ($foo->getIterator() as &$item) {
|
/PHP-8.1/ext/dom/tests/ |
H A D | gh11288.phpt | 17 $spans = iterator_to_array($dom->getElementsByTagName('span')->getIterator()); 38 $spans = iterator_to_array($dom->getElementsByTagName('span')->getIterator()); 57 $spans = iterator_to_array($dom->getElementsByTagName('span')->getIterator());
|