streamWrapper::mkdir

(PHP 5, PHP 7)

streamWrapper::mkdirCreate a directory

说锟斤拷

public streamWrapper::mkdir ( string $path , int $mode , int $options ) : bool

This method is called in response to mkdir().

Note:

In order for the appropriate error message to be returned this method should not be defined if the wrapper does not support creating directories.

锟斤拷锟斤拷

path

Directory which should be created.

mode

The value passed to mkdir().

options

A bitwise mask of values, such as STREAM_MKDIR_RECURSIVE.

锟斤拷锟斤拷值

锟缴癸拷时锟斤拷锟斤拷 TRUE锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE锟斤拷

锟斤拷锟斤拷锟届常

锟斤拷锟矫此凤拷锟斤拷失锟杰斤拷锟斤拷锟斤拷 E_WARNING锟斤拷未实锟街o拷锟斤拷

注锟斤拷

Note:

锟斤拷锟较凤拷锟斤拷锟斤拷锟斤拷锟侥达拷锟捷革拷锟斤拷锟矫猴拷锟斤拷时锟斤拷锟斤拷锟斤拷 streamWrapper::$context 锟结被锟侥变。

锟轿硷拷