SplFixedArray::getIterator
PHP Manual
PHP Manual»SplFixedArray»SplFixedArray::getIterator

SplFixedArray::getIterator

(PHP 8)

SplFixedArray::getIteratorRetrieve the iterator to go through the array

Description

public function 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.

To Top