Home
last modified time | relevance | path

Searched refs:getIterator (Results 1 – 25 of 49) sorted by relevance

12

/PHP-7.1/tests/lang/
H A DforeachLoopIteratorAggregate.002.phpt2 IteratorAggregate::getIterator bad return type
7 function getIterator() {
13 function getIterator() {
19 function getIterator() {
25 function getIterator() {
49 30: Objects returned by bad1::getIterator() must be traversable or implement interface Iterator
50 30: Objects returned by bad2::getIterator() must be traversable or implement interface Iterator
51 30: Objects returned by bad3::getIterator() must be traversable or implement interface Iterator
52 30: Objects returned by bad4::getIterator() must be traversable or implement interface Iterator
H A DforeachLoopIteratorAggregate.004.phpt48 function getIterator() {
70 c::getIterator
76 c::getIterator
86 c::getIterator
96 c::getIterator
H A DforeachLoopIteratorAggregate.001.phpt88 public function getIterator() {
166 --> EuropeanMeals::getIterator
185 --> EuropeanMeals::getIterator
212 --> EuropeanMeals::getIterator
220 --> EuropeanMeals::getIterator
250 --> EuropeanMeals::getIterator
H A DforeachLoopIteratorAggregate.003.phpt42 function getIterator() {
48 function getIterator() {
54 function getIterator() {
/PHP-7.1/Zend/tests/return_types/
H A Dgenerators003.phpt6 function getIterator(): Iterator;
10 function getIterator(): Generator {
18 var_dump($some->getIterator());
20 …l error: Declaration of SomeCollection::getIterator(): Generator must be compatible with Collectio…
H A Dgenerators005.phpt6 function getIterator(): Iterator;
10 function getIterator(): Iterator {
18 var_dump($some->getIterator());
/PHP-7.1/Zend/tests/
H A Dbug26229.phpt2 Bug #26229 (getIterator() segfaults when it returns arrays or scalars)
7 public function getIterator() {
28 Objects returned by array_iterator::getIterator() must be traversable or implement interface Iterat…
H A Dbug30725.phpt2 Bug #30725 (PHP segfaults when an exception is thrown in getIterator() within foreach)
8 function getIterator()
/PHP-7.1/Zend/tests/arg_unpack/
H A Dtraversable_throwing_exception.phpt11 public function getIterator() {
12 throw new Exception('getIterator');
32 string(11) "getIterator"
/PHP-7.1/tests/classes/
H A Diterators_001.phpt47 function getIterator() {
62 for ($iter = $t->getIterator(); $iter->valid(); $iter->next()) {
92 c::getIterator
108 c::getIterator
124 c::getIterator
128 c::getIterator
146 c::getIterator
164 c::getIterator
182 c::getIterator
H A Diterators_002.phpt51 function getIterator() {
74 c::getIterator
80 c::getIterator
91 c::getIterator
102 c::getIterator
H A Diterators_003.phpt41 function getIterator() {
74 c::getIterator
83 c::getIterator
100 c::getIterator
H A Diterators_006.phpt43 public function getIterator() {
54 #$array = $array->getIterator();
/PHP-7.1/ext/spl/tests/
H A Diterator_005.phpt24 function getIterator()
27 return parent::getIterator();
47 ArrayObjectEx::getIterator
H A Dbug61527.phpt6 $ai = $ao->getIterator();
15 $ai2 = $ao2->getIterator();
46 $ai3 = $ao3->getIterator();
51 $ai4 = $ao4->getIterator();
H A Dbug67360.phpt2 Bug #67360 (Missing element after ArrayObject::getIterator)
9 $Iterator = $ArrayObject->getIterator();
H A Diterator_003.phpt34 FilterIterator::__construct($students->getIterator());
72 public function getIterator() {
73 return new CachingIterator($this->students->getIterator(), true);
85 $it = $students->getIterator();
H A Darray_007.phpt21 function getIterator()
24 return $it->getIterator();
33 print_r($test->getIterator());
H A Dbug52238.phpt11 public function getIterator() {
21 #1 [internal function]: Foo->getIterator()
H A Darray_005.phpt34 FilterIterator::__construct($students->getIterator());
72 public function getIterator() {
73 return $this->students->getIterator();
H A Darray_017.phpt76 function getIterator()
96 $it = $obj->getIterator();
172 ArrayObjectEx::getIterator()
234 ArrayObjectEx::getIterator()
349 ArrayObjectEx::getIterator()
417 ArrayObjectEx::getIterator()
531 ArrayObjectEx::getIterator()
588 ArrayObjectEx::getIterator()
689 ArrayObjectEx::getIterator()
748 ArrayObjectEx::getIterator()
H A Diterator_016.phpt8 function getIterator()
56 Menu::getIterator
H A Dbug31346.phpt10 $i = $ao->getIterator();
/PHP-7.1/ext/spl/internal/
H A Diteratoriterator.inc23 * downcasting the instances returned in getIterator. See the following
28 function getIterator()
38 * since IteratorIterator::__construct() would call SomeClass::getIterator().
51 $iterator = $iterator->getIterator();
/PHP-7.1/Zend/tests/generators/
H A Dyield_from_iterator_agregate.phpt7 function getIterator() {

Completed in 300 milliseconds

12