public mkdir ( string $path, integer $mode, integer $options ) : boolean | ||
$path | string | Directory which should be created. |
$mode | integer | The value passed to mkdir(). |
$options | integer | A bitwise mask of values, such as STREAM_MKDIR_RECURSIVE. |
Résultat | boolean | Returns TRUE on success or FALSE on failure. |
public function mkdir($path, $mode, $options)
{
$this->restore();
if (isset($this->context)) {
$result = mkdir($path, $mode, $options, $this->context);
} else {
$result = mkdir($path, $mode, $options);
}
$this->intercept();
return $result;
}