else { $struc['files'
] = array
();
} } // Replace symlinks formatted as "source -> target" with just the source name.
if ( $struc['islink'
] ) { $struc['name'
] =
preg_replace( '/(\s*->\s*.*)$/', '',
$struc['name'
] );
} // Add the octal representation of the file permissions.
$struc['permsn'
] =
$this->
getnumchmodfromh( $struc['perms'
] );
$ret[ $struc['name'
] ] =
$struc;
} reset_mbstring_encoding();
return $ret;
} /**
* Destructor.
*
* @since 2.5.0
*/