list_dir() list_dir( $path, $maxdepth = -1, $mode = 'FULL', $exclude = '', $d) : array Recursive listing of the content of a folder. Parameters $path $maxdepth $mode $exclude $d Returns array — List of files
rmkdir() rmkdir( $dir, $mode = 511) : boolean Recursive make of a directory. Parameters $dir $mode Returns boolean — Success