mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Moved mkdir error info into an exception block
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332518 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f616f360e1
commit
da736604d1
1 changed files with 13 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
<methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Attempts to create the directory specified by pathname. The directory must not already exist, and the relevant permissions must permit this. An E_WARNING level error will be generated on failure.
|
||||
Attempts to create the directory specified by pathname.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -156,6 +156,18 @@ if (!mkdir($structure, 0, true)) {
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Emits an <constant>E_WARNING</constant> level error if the directory
|
||||
already exists.
|
||||
</para>
|
||||
<para>
|
||||
Emits an <constant>E_WARNING</constant> level error if the relevant
|
||||
permissions prevent creating the directory.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.sm.uidcheck.dir;
|
||||
|
|
Loading…
Reference in a new issue