string $path = null - The file or directory to delete. In case you set
the second parameter to true, directories will be deleted even if not empty. All files and
directories inside will be deleted.
$recursive = false -
This parameter determines, whether a directory is deleted only if it's empty (standard) or if
all included files and directories will be deleted with it ($recursive = true).
Return value
mixed - true on success, otherwise PEAR::Error.
Throws
Several errors may be returned by rm. The errornumber is unspecific (until now) and will not
tell you anything about the errormessage. Possible errors are: