"; var_dump($arr); echo "
“;*/
$n = count($arr[0]);
for($i = 0; $i < $n; $i++){
echo ' ‘.$arr[2][$i].’ // ‘.$arr[1][$i].’
‘;
}
if($n) echo “
“.str_replace(”,’/’,str_replace($root,”,$file)).”
“;
}
//遍历目录
function my_ls($path){
foreach (glob($path.DIRECTORY_SEPARATOR.’*’) as $f){
$pf = is_dir($f) ? my_ls($f) : $f;
getFun($pf);
}
}
?>