rmdir

Example

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

Description

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.

Return Values

Returns TRUE on success or FALSE on failure.