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/tdbJ5 on line 20
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/tdbJ5 on line 30
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/tdbJ5 on line 25
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/tdbJ5 on line 35
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/tdbJ5 on line 15
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, myIterator given in /in/tdbJ5:43
Stack trace:
#0 {main}
thrown in /in/tdbJ5 on line 43
Process exited with code 255.
Output for 8.0.10 - 8.0.30
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, myIterator given in /in/tdbJ5:43
Stack trace:
#0 {main}
thrown in /in/tdbJ5 on line 43
Process exited with code 255.
Output for 8.0.0 - 8.0.9
Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, myIterator given in /in/tdbJ5:43
Stack trace:
#0 {main}
thrown in /in/tdbJ5 on line 43
Process exited with code 255.