List Iterators

Introduction

We've added support for iterating over PHP lists.

Available Functions

Function Purpose
traverse_array() iterate over an array
traverse_list() iterate over anything that foreach() will accept
traverse_object() iterate over the public properties of any object
TraverseArray::using() iterate over an array
TraverseList::using() iterate over anything that foreach() will accept
TraverseObject::using() iterate over the public properties of any object

Click on a function name for more details.