Não... mas vc pode criar uma função para isso, talvez essa que eu fiz te ajude:
function deleteAll($path,$start=1){
$dir = Dir($path);
while($file = $dir->read()){
if($file != "." && $file != ".."){
if(is_dir($path . "/" . $file)){
deleteAll($path . "/" . $file,0);
rmdir($path . "/" . $file);
}elseif(is_file($path . "/" . $file)){
unlink($path . "/" . $file);
}
}
}
if($start==1){
rmdir($path);
}
}
Se vc quiser que tudo, inclusive a pasta indicada, seja excluido faça assim:
deleteAll("C:/deletar");
Se não...
deleteAll("C:/deletar",0);
[]'s
Gleisson