⇧
vadnica-logo
My Services About the Project Telegram O meni O meni

OOP Basics: Iterable

The iterable data type (introduced in PHP 7.1) combines arrays and objects that implement the Traversable interface. This allows us to write a function that accepts anything that can be looped through using a foreach loop.

EXAMPLE
RESULT
The result will be displayed here...