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/AvPrT on line 21
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/AvPrT 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/AvPrT on line 28
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/AvPrT on line 15
Fatal error: Class MyIterator contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Iterator::valid) in /in/AvPrT on line 2
Process exited with code 255.
Fatal error: Class MyIterator contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Iterator::valid) in /in/AvPrT on line 2
Process exited with code 255.
Fatal error: Class MyIterator contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Iterator::valid) in /in/AvPrT on line 50
Process exited with code 255.
Output for 5.0.0 - 5.0.4
Fatal error: Class MyIterator contains 1 abstract methods and must therefore be declared abstract (Iterator::valid) in /in/AvPrT on line 50
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting '{' in /in/AvPrT on line 2
Process exited with code 255.