Easy Tutorial
❮ Php Imagecolorallocatealpha Func String Rtrim ❯

PHP rmdir() Function



Definition and Usage

The rmdir() function removes an empty directory.

If successful, the function returns TRUE. If it fails, it returns FALSE.

Syntax

Parameter Description
dir Required. Specifies the directory to be removed.
context Optional. Specifies the context of the file handle. Context is a set of options that can modify the behavior of a stream.

Examples


❮ Php Imagecolorallocatealpha Func String Rtrim ❯