(PHP 5, PHP 7)
streamWrapper::mkdir — Create a directory
$path
, int $mode
, int $options
) : boolThis method is called in response to mkdir().
Notă:
In order for the appropriate error message to be returned this method should not be defined if the wrapper does not support creating directories.
pathDirectory which should be created.
modeThe value passed to mkdir().
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.