svn: /phpdoc/de/trunk/reference/filesystem/ functions/clearstatcache.xml functions/dirname.xml functions/file-get-contents.xml functions/flock.xml functions/fopen.xml functions/mkdir.xml functions/parse-ini-file.xml functions/parse-ini-string.xml functions/pathinfo.xml functions/readfile.xml functions/realpath.xml functions/rewind.xml functions/tempnam.xml functions/unlink.xml ini.xml
[email protected] (Christoph Michael Becker)
| Newsgroups | php.doc.de |
|---|---|
| Message-ID | <[email protected]> |
cmb Tue, 30 Jan 2018 15:46:42 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=344114
Log:
Sync with EN
Changed paths:
U phpdoc/de/trunk/reference/filesystem/functions/clearstatcache.xml
U phpdoc/de/trunk/reference/filesystem/functions/dirname.xml
U phpdoc/de/trunk/reference/filesystem/functions/file-get-contents.xml
U phpdoc/de/trunk/reference/filesystem/functions/flock.xml
U phpdoc/de/trunk/reference/filesystem/functions/fopen.xml
U phpdoc/de/trunk/reference/filesystem/functions/mkdir.xml
U phpdoc/de/trunk/reference/filesystem/functions/parse-ini-file.xml
U phpdoc/de/trunk/reference/filesystem/functions/parse-ini-string.xml
U phpdoc/de/trunk/reference/filesystem/functions/pathinfo.xml
U phpdoc/de/trunk/reference/filesystem/functions/readfile.xml
U phpdoc/de/trunk/reference/filesystem/functions/realpath.xml
U phpdoc/de/trunk/reference/filesystem/functions/rewind.xml
U phpdoc/de/trunk/reference/filesystem/functions/tempnam.xml
U phpdoc/de/trunk/reference/filesystem/functions/unlink.xml
U phpdoc/de/trunk/reference/filesystem/ini.xml
svn-diffs-344114.txt
(text/x-diff, 25.5 KB)
Modified: phpdoc/de/trunk/reference/filesystem/functions/clearstatcache.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/clearstatcache.xml 2018-01-30 15:42:32 UTC (rev 344113)
+++ phpdoc/de/trunk/reference/filesystem/functions/clearstatcache.xml 2018-01-30 15:46:42 UTC (rev 344114)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 327263 Maintainer: khp Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: khp Status: ready -->
<refentry xml:id="function.clearstatcache" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>clearstatcache</refname>
@@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>clearstatcache</methodname>
- <methodparam choice="opt"><type>bool</type><parameter>clear_realpath_cache</parameter><initializer>false</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>clear_realpath_cache</parameter><initializer>&false;</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>filename</parameter></methodparam>
</methodsynopsis>
<para>
Modified: phpdoc/de/trunk/reference/filesystem/functions/dirname.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/dirname.xml 2018-01-30 15:42:32 UTC (rev 344113)
+++ phpdoc/de/trunk/reference/filesystem/functions/dirname.xml 2018-01-30 15:46:42 UTC (rev 344114)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 341080 Maintainer: khp Status: ready -->
+<!-- EN-Revision: 341589 Maintainer: khp Status: ready -->
<!-- CREDITS: florianschmidt -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.dirname">
<refnamediv>
@@ -20,6 +20,21 @@
Verzeichnis enthält, gibt diese Funktion den Pfad des Verzeichnisses zurück,
welches <parameter>levels</parameter> Ebenen über dem angegebenen liegt.
</para>
+ <note>
+ <para>
+ <function>dirname</function> arbeitet nur mit der Eingabe Zeichenkette
+ und beachtet nicht das eigentliche Dateisystem oder Pfadbestandteile wie
+ etwa "<literal>..</literal>".
+ </para>
+ </note>
+ <caution>
+ <para>
+ <function>dirname</function> beachtet die Spracheinstellungen (locale);
+ soll sie daher die korrekte Namensbasis in Pfaden mit einem
+ Mehrbytezeichensatz erkennen, muss die passende Spracheinstellung (locale)
+ mit der <function>setlocale</function> Funktion gesetzt werden.
+ </para>
+ </caution>
</refsect1>
<refsect1 role="parameters">
@@ -127,25 +142,6 @@
</para>
</refsect1>
- <refsect1 role="notes">
- &reftitle.notes;
- <note>
- <para>
- <function>dirname</function> arbeitet nur mit der Eingabe Zeichenkette
- und beachtet nicht das eigentliche Dateisystem oder Pfadbestandteile wie
- etwa "<literal>..</literal>".
- </para>
- </note>
- <note>
- <para>
- <function>dirname</function> beachtet die Spracheinstellungen (locale);
- soll sie daher die korrekte Namensbasis in Pfaden mit einem
- Mehrbytezeichensatz erkennen, muss die passende Spracheinstellung (locale)
- mit der <function>setlocale</function> Funktion gesetzt werden.
- </para>
- </note>
- </refsect1>
-
<refsect1 role="seealso">
&reftitle.seealso;
<para>
Modified: phpdoc/de/trunk/reference/filesystem/functions/file-get-contents.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/file-get-contents.xml 2018-01-30 15:42:32 UTC (rev 344113)
+++ phpdoc/de/trunk/reference/filesystem/functions/file-get-contents.xml 2018-01-30 15:46:42 UTC (rev 344114)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 340032 Maintainer: wiesemann Status: ready -->
-<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.file-get-contents">
+<!-- EN-Revision: 343899 Maintainer: wiesemann Status: ready -->
+<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.file-get-contents" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>file_get_contents</refname>
<refpurpose>Liest die gesamte Datei in einen String</refpurpose>
@@ -12,7 +12,7 @@
<methodsynopsis>
<type>string</type><methodname>file_get_contents</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter><initializer>false</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter><initializer>&false;</initializer></methodparam>
<methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>maxlen</parameter></methodparam>
@@ -59,6 +59,11 @@
<constant>FILE_USE_INCLUDE_PATH</constant> genutzt werden, um eine
Suche im <link linkend="ini.include-path">include path</link>
auszulösen.
+ Dies ist nicht möglich, wenn <link
+ linkend="functions.arguments.type-declaration.strict">strenge
+ Typisierung</link> aktiviert wurde, da
+ <constant>FILE_USE_INCLUDE_PATH</constant> ein
+ <type>int</type> ist. Statt dessen ist &true; zu verwenden.
</para>
</note>
</listitem>
Modified: phpdoc/de/trunk/reference/filesystem/functions/flock.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/flock.xml 2018-01-30 15:42:32 UTC (rev 344113)
+++ phpdoc/de/trunk/reference/filesystem/functions/flock.xml 2018-01-30 15:46:42 UTC (rev 344114)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 336705 Maintainer: khp Status: ready -->
+<!-- EN-Revision: 344113 Maintainer: khp Status: ready -->
<refentry xml:id="function.flock" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>flock</refname>
@@ -232,8 +232,7 @@
<para>
<function>flock</function> wird von antiquierten Dateisystemen wie
<literal>FAT</literal> und dessen Derivaten nicht unterstützt, und gibt
- deshalb in solchen Umgebungen immer &false; zurück (Dies ist speziell
- bei Windows-98-Benutzern der Fall).
+ deshalb in solchen Umgebungen immer &false; zurück.
</para>
</warning>
</refsect1>
Modified: phpdoc/de/trunk/reference/filesystem/functions/fopen.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/fopen.xml 2018-01-30 15:42:32 UTC (rev 344113)
+++ phpdoc/de/trunk/reference/filesystem/functions/fopen.xml 2018-01-30 15:46:42 UTC (rev 344114)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 338383 Maintainer: khp Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: khp Status: ready -->
<refentry xml:id="function.fopen" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>fopen</refname>
@@ -13,7 +13,7 @@
<type>resource</type><methodname>fopen</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter><initializer>false</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter><initializer>&false;</initializer></methodparam>
<methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
</methodsynopsis>
<para>
@@ -191,6 +191,14 @@
Verhalten gleich wie bei <literal>'c'</literal>.
</entry>
</row>
+ <row>
+ <entry><literal>'e'</literal></entry>
+ <entry>
+ Setzt das close-on-exec Flag für den geöffneten Datei-Descriptor.
+ Nur verfügbar, wenn PHP auf POSIX.1-2008 konformen System kompiliert
+ wurde.
+ </entry>
+ </row>
</tbody>
</tgroup>
</table>
@@ -306,6 +314,12 @@
</thead>
<tbody>
<row>
+ <entry>7.0.16, 7.1.2</entry>
+ <entry>
+ Die <literal>'e'</literal> Option wurde hinzugefügt.
+ </entry>
+ </row>
+ <row>
<entry>5.2.6</entry>
<entry>
Die <literal>'c'</literal> und <literal>'c+'</literal> Optionen wurde
Modified: phpdoc/de/trunk/reference/filesystem/functions/mkdir.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/mkdir.xml 2018-01-30 15:42:32 UTC (rev 344113)
+++ phpdoc/de/trunk/reference/filesystem/functions/mkdir.xml 2018-01-30 15:46:42 UTC (rev 344114)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 334605 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.mkdir" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mkdir</refname>
@@ -13,7 +13,7 @@
<type>bool</type><methodname>mkdir</methodname>
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>0777</initializer></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>recursive</parameter><initializer>false</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>recursive</parameter><initializer>&false;</initializer></methodparam>
<methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
</methodsynopsis>
<para>
Modified: phpdoc/de/trunk/reference/filesystem/functions/parse-ini-file.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/parse-ini-file.xml 2018-01-30 15:42:32 UTC (rev 344113)
+++ phpdoc/de/trunk/reference/filesystem/functions/parse-ini-file.xml 2018-01-30 15:46:42 UTC (rev 344114)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 336978 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: simp Status: ready -->
<refentry xml:id="function.parse-ini-file" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -13,7 +13,7 @@
<methodsynopsis>
<type>array</type><methodname>parse_ini_file</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>process_sections</parameter><initializer>false</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>process_sections</parameter><initializer>&false;</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>scanner_mode</parameter><initializer>INI_SCANNER_NORMAL</initializer></methodparam>
</methodsynopsis>
<para>
@@ -325,10 +325,10 @@
<note>
<simpara>
Es gibt reservierte Schlüsselwörter, welche nicht als Schlüssel
- in Ini-Dateien verwendet werden dürfen. Diese umfassen: null, yes,
- no, true, false, on, off, none.
- Die Werte null, off, no und false ergeben "" und die Werte on, yes and true
- ergeben "1", solange der Modus <constant>INI_SCANNER_TYPED</constant>
+ in Ini-Dateien verwendet werden dürfen. Diese umfassen: <literal>null</literal>, <literal>yes</literal>,
+ <literal>no</literal>, <literal>true</literal>, <literal>false</literal>, <literal>on</literal>, <literal>off</literal>, <literal>none</literal>.
+ Die Werte <literal>null</literal>, <literal>off</literal>, <literal>no</literal> und <literal>false</literal> ergeben <literal>""</literal> und die Werte <literal>on</literal>, <literal>yes</literal> and <literal>true</literal>
+ ergeben <literal>"1"</literal>, solange der Modus <constant>INI_SCANNER_TYPED</constant>
nicht verwendet wird (seit PHP 5.6.1).
Die Zeichen <literal>?{}|&~!()^"</literal> dürfen in einem Schlüssel
nicht verwendet werden und haben im Wert besondere Bedeutung.
Modified: phpdoc/de/trunk/reference/filesystem/functions/parse-ini-string.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/parse-ini-string.xml 2018-01-30 15:42:32 UTC (rev 344113)
+++ phpdoc/de/trunk/reference/filesystem/functions/parse-ini-string.xml 2018-01-30 15:46:42 UTC (rev 344114)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 336975 Maintainer: tihox Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: tihox Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.parse-ini-string">
<refnamediv>
@@ -13,7 +13,7 @@
<methodsynopsis>
<type>array</type><methodname>parse_ini_string</methodname>
<methodparam><type>string</type><parameter>ini</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>process_sections</parameter><initializer>false</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>process_sections</parameter><initializer>&false;</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>scanner_mode</parameter><initializer>INI_SCANNER_NORMAL</initializer></methodparam>
</methodsynopsis>
<para>
@@ -75,8 +75,8 @@
<note>
<simpara>
Es gibt reservierte Wörter die nicht als Keys für die ini-Dateien benutzt
- werden dürfen. Dies schließt null, yes, no, true, false, on, off und none ein.
- Die Werte null, off, no und false geben "" zurück, und die Werte on, yes und true "1",
+ werden dürfen. Dies schließt <literal>null</literal>, <literal>yes</literal>, <literal>no</literal>, <literal>true</literal>, <literal>false</literal>, <literal>on</literal>, <literal>off</literal> und <literal>none</literal> ein.
+ Die Werte <literal>null</literal>, <literal>off</literal>, <literal>no</literal> und <literal>false</literal> geben <literal>""</literal> zurück, und die Werte <literal>on</literal>, <literal>yes</literal> und <literal>true</literal> <literal>"1"</literal>,
es sei denn der <constant>INI_SCANNER_TYPED</constant>-Modus wird verwendet.
Die Buchstaben <literal>?{}|&~![()^"</literal> dürfen nirgendwo inm Key benutzt
werden und haben eine spezielle Bedeutung.
Modified: phpdoc/de/trunk/reference/filesystem/functions/pathinfo.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/pathinfo.xml 2018-01-30 15:42:32 UTC (rev 344113)
+++ phpdoc/de/trunk/reference/filesystem/functions/pathinfo.xml 2018-01-30 15:46:42 UTC (rev 344114)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 331135 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 341589 Maintainer: wiesemann Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.pathinfo">
<refnamediv>
<refname>pathinfo</refname>
@@ -19,6 +19,20 @@
(<parameter>path</parameter>) zurück: entweder als assoziatives Array
oder als String, abhängig vom <parameter>options</parameter>-Parameter.
</para>
+ <note>
+ <para>
+ Informationen über das Wiederauffinden der aktuellen Pfadinformation
+ finden Sie unter <link linkend="language.variables.predefined">
+ Vordefinierte Variablen</link>.
+ </para>
+ </note>
+ <caution>
+ <para>
+ <function>pathinfo</function> berücksichtigt die locale-Einstellung. Um einen
+ Pfad, der Multibyte-Zeichen enthält, korrekt parsen zu können, muss die entsprechende
+ locale mit der <function>setlocale</function>-Funktion gesetzt werden.
+ </para>
+ </caution>
</refsect1>
<refsect1 role="parameters">
@@ -77,6 +91,14 @@
(siehe das zweite Beispiel unten).
</para>
</note>
+ <note>
+ <para>
+ Beginnt der <literal>basename</literal> des <parameter>path</parameter> mit
+ einem Punkt, werden die folgenden Zeichen als <literal>extension</literal>
+ interpretiert, und der <literal>filename</literal> ist leer (siehe das
+ dritte Beispiel unten).
+ </para>
+ </note>
<para>
Falls <parameter>options</parameter> genutzt wird, gibt diese Funktion
einen <type>String</type> mit dem gewünschten Element zurück.
@@ -160,26 +182,32 @@
</screen>
</example>
</para>
+ <para>
+ <example>
+ <title><function>pathinfo</function>-Beispiel für eine Punktdatei</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+print_r(pathinfo('/some/path/.test'));
+?>
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+Array
+(
+ [dirname] => /some/path
+ [basename] => .test
+ [extension] => test
+ [filename] =>
+)
+]]>
+ </screen>
+ </example>
+ </para>
</refsect1>
- <refsect1 role="notes">
- &reftitle.notes;
- <note>
- <para>
- Informationen über das Wiederauffinden der aktuellen Pfadinformation
- finden Sie unter <link linkend="language.variables.predefined">
- Vordefinierte Variablen</link>.
- </para>
- </note>
- <note>
- <para>
- <function>pathinfo</function> berücksichtigt die locale-Einstellung. Um einen
- Pfad, der Multibyte-Zeichen enthält, korrekt parsen zu können, muss die entsprechende
- locale mit der <function>setlocale</function>-Funktion gesetzt werden.
- </para>
- </note>
- </refsect1>
-
<refsect1 role="seealso">
&reftitle.seealso;
<para>
Modified: phpdoc/de/trunk/reference/filesystem/functions/readfile.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/readfile.xml 2018-01-30 15:42:32 UTC (rev 344113)
+++ phpdoc/de/trunk/reference/filesystem/functions/readfile.xml 2018-01-30 15:46:42 UTC (rev 344114)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 337464 Maintainer: cmb Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: cmb Status: ready -->
<refentry xml:id="function.readfile" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -13,7 +13,7 @@
<methodsynopsis>
<type>int</type><methodname>readfile</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter><initializer>false</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter><initializer>&false;</initializer></methodparam>
<methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
</methodsynopsis>
<para>
Modified: phpdoc/de/trunk/reference/filesystem/functions/realpath.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/realpath.xml 2018-01-30 15:42:32 UTC (rev 344113)
+++ phpdoc/de/trunk/reference/filesystem/functions/realpath.xml 2018-01-30 15:46:42 UTC (rev 344114)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 336672 Maintainer: nikic Status: ready -->
+<!-- EN-Revision: 344112 Maintainer: nikic Status: ready -->
<refentry xml:id="function.realpath" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>realpath</refname>
@@ -15,7 +15,7 @@
</methodsynopsis>
<para>
<function>realpath</function> löst alle symbolischen Verweise,
- '/./', '/../' und mehrere aufeinanderfolgende '/' Zeichen,
+ <literal>/./</literal>, <literal>/../</literal> und mehrere aufeinanderfolgende <literal>/</literal> Zeichen,
die in <parameter>path</parameter> enthalten sind, auf und gibt
den so entstehenden absoluten Pfad zurück.
</para>
@@ -48,7 +48,8 @@
&reftitle.returnvalues;
<para>
Gibt bei Erfolg den eindeutigen und absoluten Pfadnamen zurück. Dieser wird
- keine symbolischen Links, '/./' oder '/../' mehr enthalten.
+ keine symbolischen Links, <literal>/./</literal> oder <literal>/../</literal> mehr enthalten.
+ Abschließende Trennzeichen wie <literal>\</literal> und <literal>/</literal> werden ebenfalls entfernt.
</para>
<para>
<function>realpath</function> gibt &false; zurück, wenn ein Fehler auftritt,
@@ -61,6 +62,19 @@
der Fall, gibt <function>realpath</function> &false; zurück.
</para>
</note>
+ <note>
+ <para>
+ Bei Dateisystemen, bei denen Groß-/Kleinschreibung keine Rolle spielt,
+ kann <function>realpath</function> die Schreibweise kanonisieren, oder auch
+ nicht.
+ </para>
+ </note>
+ <note>
+ <para>
+ Die Funktion <function>realpath</function> funktioniert nicht für Dateien in
+ einem Phar, da solche Pfade virtuelle Pfade sind, aber keine realen Pfade.
+ </para>
+ </note>
&fs.file.32bit;
</refsect1>
@@ -107,7 +121,10 @@
<![CDATA[
<?php
chdir('/var/www/');
-echo realpath('./../../etc/passwd');
+echo realpath('./../../etc/passwd') . PHP_EOL;
+
+
+echo realpath('/tmp/') . PHP_EOL;
?>
]]>
</programlisting>
@@ -115,6 +132,7 @@
<screen>
<![CDATA[
/etc/passwd
+/tmp
]]>
</screen>
</example>
@@ -127,7 +145,9 @@
<programlisting role="php">
<![CDATA[
<?php
-echo realpath('/windows/system32');
+echo realpath('/windows/system32'), PHP_EOL;
+
+echo realpath('C:\Program Files\\'), PHP_EOL;
?>
]]>
</programlisting>
@@ -135,6 +155,7 @@
<screen>
<![CDATA[
C:\WINDOWS\System32
+C:\Program Files
]]>
</screen>
</example>
Modified: phpdoc/de/trunk/reference/filesystem/functions/rewind.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/rewind.xml 2018-01-30 15:42:32 UTC (rev 344113)
+++ phpdoc/de/trunk/reference/filesystem/functions/rewind.xml 2018-01-30 15:46:42 UTC (rev 344114)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: cmb Status: ready -->
+<!-- EN-Revision: 343348 Maintainer: cmb Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.rewind">
<refnamediv>
@@ -21,7 +21,7 @@
<note>
<para>
Wurde die Datei im Anfüge-Modus ("a" oder "a+") geöffnet, werden
- unabhängig von der Dateiposition alle zu schreibenden Daten
+ unabhängig von der Position des Dateizeigers alle zu schreibenden Daten
angehängt.
</para>
</note>
Modified: phpdoc/de/trunk/reference/filesystem/functions/tempnam.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/tempnam.xml 2018-01-30 15:42:32 UTC (rev 344113)
+++ phpdoc/de/trunk/reference/filesystem/functions/tempnam.xml 2018-01-30 15:46:42 UTC (rev 344114)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 334592 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 336950 Maintainer: wiesemann Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.tempnam">
<refnamediv>
<refname>tempnam</refname>
@@ -17,7 +17,7 @@
<para>
Erzeugt eine Datei mit einem eindeutigen Dateinamen in dem angegebenen
Verzeichnis, wobei die Zugriffsberechtigungen auf 0600 gesetzt werden.
- Wenn das Verzeichnis nicht existiert, erstellt
+ Wenn das Verzeichnis nicht existiert oder nicht beschreibbar ist, erstellt
<function>tempnam</function> eine Datei im temporären Verzeichnis des
Systems und gibt den vollständigen Pfad zu dieser Datei, der den Namen beinhaltet, zurück.
</para>
Modified: phpdoc/de/trunk/reference/filesystem/functions/unlink.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/unlink.xml 2018-01-30 15:42:32 UTC (rev 344113)
+++ phpdoc/de/trunk/reference/filesystem/functions/unlink.xml 2018-01-30 15:46:42 UTC (rev 344114)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 300632 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 336939 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.unlink" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>unlink</refname>
Modified: phpdoc/de/trunk/reference/filesystem/ini.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/ini.xml 2018-01-30 15:42:32 UTC (rev 344113)
+++ phpdoc/de/trunk/reference/filesystem/ini.xml 2018-01-30 15:46:42 UTC (rev 344114)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 334374 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 344076 Maintainer: wiesemann Status: ready -->
<section xml:id="filesystem.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
@@ -54,6 +54,12 @@
<entry>PHP_INI_ALL</entry>
<entry>Verfügbar seit PHP 4.3.0.</entry>
</row>
+ <row>
+ <entry><link linkend="ini.sys-temp-dir">sys_temp_dir</link></entry>
+ <entry>""</entry>
+ <entry>PHP_INI_SYSTEM</entry>
+ <entry>Verfügbar seit PHP 5.5.0.</entry>
+ </row>
</tbody>
</tgroup>
</table>
@@ -193,6 +199,18 @@
</note>
</listitem>
</varlistentry>
+
+ <varlistentry xml:id="ini.sys-temp-dir">
+ <term>
+ <parameter>sys_temp_dir</parameter>
+ <type>string</type>
+ </term>
+ <listitem>
+ <para>
+ </para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
</para>
</section>