SplFixedArray::getIterator

(PHP 8)

SplFixedArray::getIteratorRetrieve the iterator to go through the array

Description

public SplFixedArray::getIterator(): Iterator

Returns the iterator to go through the array.

Parameters

This function has no parameters.

Return Values

An instance of an object implementing Iterator to go through the array.