Gen. partnerAlgotech

PHP function readdir()

Read entry from directory handle

|
September 11, 2019

Availability in PHP 4.0

Read entry from directory handle

Parameters

Parameter Data type Default value Note
$dir_handle resource null The directory handle resource previously opened with opendir. If the directory handle is not specified, the last link opened by opendir is assumed.

Return values

string

|bool the filename on success or false on failure.

Other resources

Official readdir documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.