DirectoryIterator::seek

DirectoryIterator::seek

(PHP 5 >= 5.3.0, PHP 7)

DirectoryIterator::seekSeek to a DirectoryIterator item

Description

public void DirectoryIterator::seek ( int $position )

Seek to a given position in the DirectoryIterator.

Parameters

position

The zero-based numeric position to seek to.