Home
last modified time | relevance | path

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

1234

/PHP-8.0/tests/lang/
H A DforeachLoopIteratorAggregate.002.phpt2 IteratorAggregate::getIterator bad return type
7 function getIterator() {
13 function getIterator() {
19 function getIterator() {
25 function getIterator() {
48 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
H A DforeachLoopIteratorAggregate.004.phpt48 function getIterator() {
69 c::getIterator
75 c::getIterator
85 c::getIterator
95 c::getIterator
H A DforeachLoopIteratorAggregate.001.phpt88 public function getIterator() {
165 --> EuropeanMeals::getIterator
184 --> EuropeanMeals::getIterator
211 --> EuropeanMeals::getIterator
219 --> EuropeanMeals::getIterator
249 --> EuropeanMeals::getIterator
/PHP-8.0/Zend/tests/return_types/
H A Dgenerators003.phpt6 function getIterator(): Iterator;
10 function getIterator(): Generator {
18 echo get_class($some->getIterator());
H A Dgenerators005.phpt6 function getIterator(): Iterator;
10 function getIterator(): Iterator {
18 var_dump($some->getIterator());
/PHP-8.0/Zend/tests/
H A Dbug26229.phpt2 Bug #26229 (getIterator() segfaults when it returns arrays or scalars)
7 public function getIterator() {
27 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-8.0/Zend/tests/arg_unpack/
H A Dtraversable_throwing_exception.phpt11 public function getIterator() {
12 throw new Exception('getIterator');
32 string(11) "getIterator"
/PHP-8.0/ext/spl/tests/
H A Diterator_005.phpt24 function getIterator()
27 return parent::getIterator();
45 ArrayObjectEx::getIterator
H A DRecursiveIteratorIterator_invalid_aggregate.phpt7 function getIterator() {
20 MyIteratorAggregate::getIterator() must return an object that implements Traversable
H A DSplFixedArray_override_getIterator.phpt2 SPL: FixedArray: overriding getIterator()
7 public function getIterator(): Iterator
9 $iterator = parent::getIterator();
H A Dbug67360.phpt2 Bug #67360 (Missing element after ArrayObject::getIterator)
9 $Iterator = $ArrayObject->getIterator();
H A Dbug61527.phpt6 $ai = $ao->getIterator();
15 $ai2 = $ao2->getIterator();
46 $ai3 = $ao3->getIterator();
51 $ai4 = $ao4->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 Diterator_016.phpt8 function getIterator()
54 Menu::getIterator
/PHP-8.0/ext/date/tests/
H A DDatePeriod_IteratorAggregate.phpt12 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 DDatePeriod_no_advance_on_valid.phpt10 $iterator = $period->getIterator();
24 $iterator = $period->getIterator();
/PHP-8.0/tests/classes/
H A Diterators_001.phpt45 function getIterator() {
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 Diterators_002.phpt49 function getIterator() {
72 c::getIterator
78 c::getIterator
89 c::getIterator
100 c::getIterator
H A Diterators_003.phpt39 function getIterator() {
72 c::getIterator
81 c::getIterator
98 c::getIterator
/PHP-8.0/ext/intl/resourcebundle/
H A Dresourcebundle_arginfo.h39 ZEND_METHOD(ResourceBundle, getIterator);
50 ZEND_ME(ResourceBundle, getIterator, arginfo_class_ResourceBundle_getIterator, ZEND_ACC_PUBLIC)
/PHP-8.0/Zend/tests/type_declarations/
H A Dtyped_properties_034.phpt9 public function &getIterator() {
28 foreach ($foo->getIterator() as &$item) {

Completed in 21 milliseconds

1234