rmdir
rmdir
(PHP 4, PHP 5, PHP 7)
rmdir — Removes directory
Description
bool rmdir ( string $dirname [, resource $context ] )
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.
Parameters
-
dirname
-
Path to the directory.
-
context