I came across following piece of code while reading a php code :
$files = array();
foreach ( $folders as $fold ) {
if ( ! is_dir( $fold ) ) {
continue;
}
$files = array_merge( $files, readdirectrory( $folder ) );
}
But I did not find any related to readdirectory in code base so I search google if function belongs to php, but no luck. Can anybody have any idea.