rmdir

 bool rmdir ( string $dirname [, resource $context ] ) 

説明

Attempts to remove the directory named by dirname. The directory must be empty, and the relevant permissions must permit this. A E_WARNING level error will be generated on failure.

戻り値

Returns TRUE on success or FALSE on failure.