src/Debug/FileStreamWrapper.php
public function mkdir($path, $mode, $options = 0)
    {
        self::restorePrev();
        $success = \mkdir($path, $mode, (bool) ($options & STREAM_MKDIR_RECURSIVE));
        self::register();
        return $success;
    }
public function mkdir($path, $mode, $options = 0)
    {
        self::restorePrev();
        $success = \mkdir($path, $mode, (bool) ($options & STREAM_MKDIR_RECURSIVE));
        self::register();
        return $success;
    }
Create a directory

@param string  $path    Directory which should be created.
@param integer $mode    The value passed to mkdir().
@param integer $options A bitwise mask of values, such as STREAM_MKDIR_RECURSIVE.

@return boolean