Deprecated: Return type of MyIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/stsCu on line 19
Deprecated: Return type of MyIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/stsCu on line 33
Deprecated: Return type of MyIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/stsCu on line 26
Deprecated: Return type of MyIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/stsCu on line 40
Deprecated: Return type of MyIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/stsCu on line 13
rewinding
Fatal error: Uncaught Error: Undefined constant MyIterator::valid in /in/stsCu:44
Stack trace:
#0 /in/stsCu(54): MyIterator->valid()
#1 {main}
thrown in /in/stsCu on line 44
Process exited with code 255.
Output for 8.0.0 - 8.0.30
rewinding
Fatal error: Uncaught Error: Undefined constant MyIterator::valid in /in/stsCu:44
Stack trace:
#0 /in/stsCu(54): MyIterator->valid()
#1 {main}
thrown in /in/stsCu on line 44
Process exited with code 255.
rewinding
Fatal error: Uncaught Error: Undefined class constant 'valid' in /in/stsCu:44
Stack trace:
#0 /in/stsCu(54): MyIterator->valid()
#1 {main}
thrown in /in/stsCu on line 44
Process exited with code 255.