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/QV6Vi 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/QV6Vi on line 35
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/QV6Vi on line 28
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/QV6Vi on line 41
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/QV6Vi on line 13
Deprecated: Return type of MyCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/QV6Vi on line 64
Warning: Undefined variable $values in /in/QV6Vi on line 74
Warning: Undefined property: MyCollection::$var in /in/QV6Vi on line 65
rewinding
Deprecated: Creation of dynamic property MyIterator::$var is deprecated in /in/QV6Vi on line 16
Fatal error: Uncaught TypeError: reset(): Argument #1 ($array) must be of type array, null given in /in/QV6Vi:16
Stack trace:
#0 /in/QV6Vi(16): reset(NULL)
#1 /in/QV6Vi(80): MyIterator->rewind()
#2 {main}
thrown in /in/QV6Vi on line 16
Process exited with code 255.
Output for 8.1.0 - 8.1.28
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/QV6Vi 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/QV6Vi on line 35
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/QV6Vi on line 28
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/QV6Vi on line 41
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/QV6Vi on line 13
Deprecated: Return type of MyCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/QV6Vi on line 64
Warning: Undefined variable $values in /in/QV6Vi on line 74
Warning: Undefined property: MyCollection::$var in /in/QV6Vi on line 65
rewinding
Fatal error: Uncaught TypeError: reset(): Argument #1 ($array) must be of type array, null given in /in/QV6Vi:16
Stack trace:
#0 /in/QV6Vi(16): reset(NULL)
#1 /in/QV6Vi(80): MyIterator->rewind()
#2 {main}
thrown in /in/QV6Vi on line 16
Process exited with code 255.
Output for 8.0.0 - 8.0.30
Warning: Undefined variable $values in /in/QV6Vi on line 74
Warning: Undefined property: MyCollection::$var in /in/QV6Vi on line 65
rewinding
Fatal error: Uncaught TypeError: reset(): Argument #1 ($array) must be of type array, null given in /in/QV6Vi:16
Stack trace:
#0 /in/QV6Vi(16): reset(NULL)
#1 /in/QV6Vi(80): MyIterator->rewind()
#2 {main}
thrown in /in/QV6Vi on line 16
Process exited with code 255.
Notice: Undefined variable: values in /in/QV6Vi on line 74
Notice: Undefined property: MyCollection::$var in /in/QV6Vi on line 65
rewinding
Warning: reset() expects parameter 1 to be array, null given in /in/QV6Vi on line 16
Warning: key() expects parameter 1 to be array, null given in /in/QV6Vi on line 43
valid:
Output for 7.3.32 - 7.3.33, 7.4.26
rewinding
Warning: reset() expects parameter 1 to be array, null given in /in/QV6Vi on line 16
Warning: key() expects parameter 1 to be array, null given in /in/QV6Vi on line 43
valid:
Output for 5.2.6 - 5.2.17
Notice: Undefined variable: values in /in/QV6Vi on line 74
Notice: Undefined property: MyCollection::$var in /in/QV6Vi on line 65
rewinding
Warning: reset(): Passed variable is not an array or object in /in/QV6Vi on line 16
Warning: key(): Passed variable is not an array or object in /in/QV6Vi on line 43
valid:
Notice: Undefined variable: values in /in/QV6Vi on line 74
Notice: Undefined property: MyCollection::$var in /in/QV6Vi on line 65
rewinding
Warning: reset(): Passed variable is not an array or object in /in/QV6Vi on line 16
Warning: key(): Passed variable is not an array or object in /in/QV6Vi on line 43
valid:
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: values in /in/QV6Vi on line 74
Notice: Undefined property: MyCollection::$var in /in/QV6Vi on line 65
rewinding
Warning: reset(): Passed variable is not an array or object in /in/QV6Vi on line 16
Warning: key(): Passed variable is not an array or object in /in/QV6Vi on line 43
valid:
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting '{' in /in/QV6Vi on line 2
Process exited with code 255.