<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.streamwrapper.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'streamwrapper.mkdir.php',
    1 => 'streamWrapper::mkdir',
    2 => 'Create a directory',
  ),
  'up' => 
  array (
    0 => 'class.streamwrapper.php',
    1 => 'streamWrapper',
  ),
  'prev' => 
  array (
    0 => 'streamwrapper.dir-rewinddir.php',
    1 => 'streamWrapper::dir_rewinddir',
  ),
  'next' => 
  array (
    0 => 'streamwrapper.rename.php',
    1 => 'streamWrapper::rename',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/stream/streamwrapper/mkdir.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="streamwrapper.mkdir" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">streamWrapper::mkdir</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">streamWrapper::mkdir</span> &mdash; <span class="dc-title">Create a directory</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-streamwrapper.mkdir-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>streamWrapper::mkdir</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$path</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$mode</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$options</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   This method is called in response to <span class="function"><a href="function.mkdir.php" class="function">mkdir()</a></span>.
  </p>
  <blockquote class="note"><p><strong class="note">Зауваження</strong>: 
   <p class="para">
    In order for the appropriate error message to be returned this method
    should <em>not</em> be defined if the wrapper does not support
    creating directories.
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 parameters" id="refsect1-streamwrapper.mkdir-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">path</code></dt>
     <dd>
      <p class="para">
       Directory which should be created.
      </p>
     </dd>
    
    
     <dt><code class="parameter">mode</code></dt>
     <dd>
      <p class="para">
       The value passed to <span class="function"><a href="function.mkdir.php" class="function">mkdir()</a></span>.
      </p>
     </dd>
    
    
     <dt><code class="parameter">options</code></dt>
     <dd>
      <p class="para">
       A bitwise mask of values, such as <strong><code><a href="stream.constants.php#constant.stream-mkdir-recursive">STREAM_MKDIR_RECURSIVE</a></code></strong>.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-streamwrapper.mkdir-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Повертає <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> у разі успіху або <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> в разі помилки.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-streamwrapper.mkdir-errors">
  <h3 class="title">Помилки/виключення</h3>
  <p class="para">Виводить
<strong><code><a href="errorfunc.constants.php#constant.e-warning">E_WARNING</a></code></strong>, якщо цей метод не вдалося викликати (напр. не
реалізований).</p>
 </div>

 


 <div class="refsect1 notes" id="refsect1-streamwrapper.mkdir-notes">
  <h3 class="title">Примітки</h3>
  <blockquote class="note"><p><strong class="note">Зауваження</strong>: <p class="para">Властивість
<var class="varname">streamWrapper::$context</var>
оновиться, якщо передано правильний контекст до функції виклику.</p></p></blockquote>
 </div>

 
 <div class="refsect1 seealso" id="refsect1-streamwrapper.mkdir-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.mkdir.php" class="function" rel="rdfs-seeAlso">mkdir()</a> - Makes directory</span></li>
    <li><span class="methodname"><a href="streamwrapper.rmdir.php" class="methodname" rel="rdfs-seeAlso">streamwrapper::rmdir()</a> - Removes a directory</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>