Deprecated: Return type of foo::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Nnl8E on line 5
Deprecated: Creation of dynamic property foo::$bar is deprecated in /in/Nnl8E on line 11
baz
Output for 8.1.0 - 8.1.28
Deprecated: Return type of foo::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Nnl8E on line 5
baz