Deprecated: Return type of Iterators\Classes\FizzBuzz::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Yk7Dc on line 13
Deprecated: Return type of Iterators\Classes\FizzBuzz::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Yk7Dc on line 25
Deprecated: Return type of Iterators\Classes\FizzBuzz::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Yk7Dc on line 21
Deprecated: Return type of Iterators\Classes\FizzBuzz::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Yk7Dc on line 35
Deprecated: Return type of Iterators\Classes\FizzBuzz::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Yk7Dc on line 30
Warning: Trying to access array offset on int in /in/Yk7Dc on line 16
Warning: Trying to access array offset on int in /in/Yk7Dc on line 17
FizzBuzz
Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.18
Deprecated: Return type of Iterators\Classes\FizzBuzz::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Yk7Dc on line 13
Deprecated: Return type of Iterators\Classes\FizzBuzz::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Yk7Dc on line 25
Deprecated: Return type of Iterators\Classes\FizzBuzz::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Yk7Dc on line 21
Deprecated: Return type of Iterators\Classes\FizzBuzz::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Yk7Dc on line 35
Deprecated: Return type of Iterators\Classes\FizzBuzz::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Yk7Dc on line 30
Warning: Trying to access array offset on value of type int in /in/Yk7Dc on line 16
Warning: Trying to access array offset on value of type int in /in/Yk7Dc on line 17
FizzBuzz
Output for 8.0.0 - 8.0.30
Warning: Trying to access array offset on value of type int in /in/Yk7Dc on line 16
Warning: Trying to access array offset on value of type int in /in/Yk7Dc on line 17
FizzBuzz
Output for 7.4.0 - 7.4.33
Notice: Trying to access array offset on value of type int in /in/Yk7Dc on line 16
Notice: Trying to access array offset on value of type int in /in/Yk7Dc on line 17
FizzBuzz