mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
fixing #18293, adding more informations about mode
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@110231 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
cacd5a3e88
commit
ddcde85408
1 changed files with 9 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.39 -->
|
||||
<refentry id="function.mkdir">
|
||||
<refnamediv>
|
||||
|
@ -11,7 +11,7 @@
|
|||
<methodsynopsis>
|
||||
<type>int</type><methodname>mkdir</methodname>
|
||||
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
|
||||
<methodparam>[<type>int</type><parameter>mode</parameter>]</methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Attempts to create the directory specified by pathname.
|
||||
|
@ -21,6 +21,13 @@
|
|||
octal number, which means it should have a leading zero.
|
||||
The mode is also modified by the current umask, which you
|
||||
can change using <function>umask</function>.
|
||||
|
||||
Mode is NOT needed on Windows.
|
||||
|
||||
Please note also that mode is optional and that
|
||||
it is by default '0777' (read, write and execution for EVERY
|
||||
access). If you need more informations about mode under
|
||||
UNIX systems, please read 'man 1 chmod' and 'man 2 chmod'.
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
|
|
Loading…
Reference in a new issue