In doing a move/copy operation I will get:
Notice: Undefined variable: dir_list in ... \.include\fun_copy_move.php on line 56 (and line 57):
56: if(is_array($dir_list)) ksort($dir_list);
57: return $dir_list;
It seems it is possible to reach this line without having assigned a value to $dir_list.