Function __global->rmdir
Definitions
sources_custom/phpstub.php
- Removes directory.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $dirname | PATH | No | No | required parameter | N/A | N/A | Directory path |
| $context | ?resource | No | No | Null | N/A | N/A | A stream context to attach to (null: no special context) |
Returns
- Success status
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Removes directory.
*
* @param PATH $dirname Directory path
* @param ?resource $context A stream context to attach to (null: no special context)
* @return boolean Success status
*/
function rmdir(string $dirname, $context = null) : bool
* Removes directory.
*
* @param PATH $dirname Directory path
* @param ?resource $context A stream context to attach to (null: no special context)
* @return boolean Success status
*/
function rmdir(string $dirname, $context = null) : bool

