PHP function rmdir()
Availability in PHP 4.0
Removes directory
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$dirname |
string |
not | Path to the directory. |
$context |
resource |
null |
Return values
bool
Returns true on success, otherwise false on failure.