(PHP 5, PHP 7)
streamWrapper::rmdir — Removes a directory
$path
, int $options
) : boolThis method is called in response to rmdir().
Notă:
In order for the appropriate error message to be returned this method should not be defined if the wrapper does not support removing directories.
pathThe directory URL which should be removed.
options
A bitwise mask of values, such as STREAM_MKDIR_RECURSIVE.
Întoarce valoarea TRUE în cazul
succesului sau FALSE în cazul eșecului.
Emite o eroare
E_WARNING dacă apelul acestei metode eșuează
(de ex. nu este implementată).
Notă:
Proprietatea streamWrapper::$context este reînnoită dacă un context valid este transmis funcției apelante.