Deprecated: Return type of Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4S7ts on line 7
Deprecated: Creation of dynamic property Collection::$data is deprecated in /in/4S7ts on line 5
array(2) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
}
Output for 8.1.0 - 8.1.28
Deprecated: Return type of Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4S7ts on line 7
array(2) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
}