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:
Dean Sas 2013-12-27 16:00:28 +00:00
parent f616f360e1
commit da736604d1

View file

@ -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;
&note.sm.uidcheck.dir;