Menu Samaritan's Purse

RMDIR

Removes directory

SYNTAX

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

PARAMETERS

dirname

Path to the directory.

context

Note: Context support was added with PHP 5.0.0. For a description of contexts, refer to Streams.

RETURN

Returns TRUE on success or FALSE on failure.

EXAMPLES


PHP